0_0_39262230_32451.cpp: In function 'int main()':
0_0_39262230_32451.cpp:10:11: error: 'cin' was not declared in this scope
10 | while(cin>>n,n!=0){
| ^~~
0_0_39262230_32451.cpp:3:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <string.h>
+++ |+#include <iostream>
3 | using namespace std;
0_0_39262230_32451.cpp:20:9: error: 'cout' was not declared in this scope
20 | cout<<c<<endl;
| ^~~~
0_0_39262230_32451.cpp:20:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
|