0_0_30217056_16124.cpp:1:1: error: 'iostream' does not name a type
iostream>
^
0_0_30217056_16124.cpp: In function 'int main()':
0_0_30217056_16124.cpp:6:11: error: 'cin' was not declared in this scope
while(cin>>n)
^
0_0_30217056_16124.cpp:17:13: error: 'cout' was not declared in this scope
cout<<sum<<endl;
^
0_0_30217056_16124.cpp:17:24: error: 'endl' was not declared in this scope
cout<<sum<<endl;
^
|