0_0_32042931_26105.cpp: In function 'int main()':
0_0_32042931_26105.cpp:16:9: error: 'cin' was not declared in this scope
while (cin >> y && y != 0)
^
0_0_32042931_26105.cpp:28:3: error: 'cout' was not declared in this scope
cout << sum << endl;
^
0_0_32042931_26105.cpp:28:18: error: 'endl' was not declared in this scope
cout << sum << endl;
^
|