將任意N個數字從1一直加到N(用最簡單的FOR迴圈) 程式碼如下: 1 #include<stdio.h> 2 int main() 3 { 4 int n,c; 5 scanf("%d",&n); 6 c = 0; ...
確定! 回上一頁