... &inputNum); // 讀入整數到inputNum sum = sum + inputNum; // 加總到sum變數} printf("Sum is %d, average is %lf\n", sum, (double)sum / 5); // 輸出結果}.
確定! 回上一頁