如下 C++ 代码执行时,下列说法错误的是( )。
int N, tot;cin >> N;tot = 0; while (N > 0) { cout << N << "#"; tot += 1; N -= 1;} cout << tot << "-END";如下 C++ 代码执行时,下列说法错误的是( )。
int N, tot;cin >> N;tot = 0; while (N > 0) { cout << N << "#"; tot += 1; N -= 1;} cout << tot << "-END";