用迴圈方法計算階乘. 如果是用 for 迴圈計算的話,關鍵程式碼應該大致長這樣:. unsigned long long int factorial = 1; for ( unsigned int counter = 1; ...
確定! 回上一頁