下面的 C++ 代码执行后将输出 24。
24
int total; for (int n = 1; n <= 4; n++) { total *= n; } cout << total;
正确 √
错误 ×