0_0_39728568_11458.cpp: In function 'int main()':
0_0_39728568_11458.cpp:6:17: error: 'cin' was not declared in this scope
6 | while ( cin >> n && n ) {
| ^~~
0_0_39728568_11458.cpp:13:17: error: 'cout' was not declared in this scope
13 | cout << sum << endl;
| ^~~~
0_0_39728568_11458.cpp:13:32: error: 'endl' was not declared in this scope
13 | cout << sum << endl;
| ^~~~
|