0_0_26318558_12669.cpp:1:30: error: stray '#' in program
<pre name="code" class="cpp">#include <iostream>
^
0_0_26318558_12669.cpp:1:1: error: expected unqualified-id before '<' token
<pre name="code" class="cpp">#include <iostream>
^
0_0_26318558_12669.cpp: In function 'int main()':
0_0_26318558_12669.cpp:20:8: error: 'cin' was not declared in this scope
while(cin >>k)
^
0_0_26318558_12669.cpp:28:4: error: 'cout' was not declared in this scope
cout << result <<endl;
^
0_0_26318558_12669.cpp:28:21: error: 'endl' was not declared in this scope
cout << result <<endl;
^
0_0_26318558_12669.cpp:31:4: error: 'cout' was not declared in this scope
cout << "no"<<endl;
^
0_0_26318558_12669.cpp:31:18: error: 'endl' was not declared in this scope
cout << "no"<<endl;
^
|