以下應該正確吧 clear; a=80; b=-3; my_total=1 if a<0 left_num=b right_num=a else left_num=b right_num=0 end for index=left_num:right_num if index<0 my_total=my_total*index; end end my_total
分類:電腦與網際網路 > 程式設計 2008年11月01日
...原文題目這段話的意思 returns the total number of leaves in the tree 傳回樹裡有多少片葉子(結點) 答案 (b) 要改 1 謝謝!
分類:電腦與網際網路 > 程式設計 2007年03月31日
... rowind As Integer get the count of fields, add 1 for the blank left column StatGrid.Cols = Data1.Recordset.Fields.count + 1 set one row to start to fill in headings Data1.Recordset.MoveFirst StatGrid...
分類:電腦與網際網路 > 程式設計 2006年07月20日
... the number of character cells in the current buffer. if( !GetConsoleScreenBufferInfo... * csbi.dwSize.Y; // Fill the entire screen with blanks . if( !FillConsoleOutputCharacter...
分類:電腦與網際網路 > 程式設計 2006年05月04日