範例:求1 到n 的全部整數的立方和, n 的範圍由1 到10 。 ... 計算10的exp次方; int pow10(int exp); {; int n = 1;; for (int i=0; i<exp; i++); n *= 10; ...
確定! 回上一頁