Main.cc: In function ‘int main()’:
Main.cc:5:5: error: ‘cin’ was not declared in this scope
cin >> a;
^~~
Main.cc:5:5: note: suggested alternative: ‘main’
cin >> a;
^~~
main
Main.cc:7:6: error: ‘cout’ was not declared in this scope
cout<<"3 5 7";
^~~~
Main.cc:10:7: error: ‘cout’ was not declared in this scope
cout<<"3 5";
^~~~
Main.cc:13:8: error: ‘cout’ was not declared in this scope
cout<<"3 7";
^~~~
Main.cc:16:9: error: ‘cout’ was not declared in this scope
cout<<"5 7";
^~~~
Main.cc:19:10: error: ‘cout’ was not declared in this scope
cout<<"3";
^~~~
Main.cc:22:11: error: ‘cout’ was not declared in this scope
cout<<"5";
^~~~
Main.cc:25:12: error: ‘cout’ was not declared in this scope
cout<<"7";
^~~~
Main.cc:26:17: error: ‘cout’ was not declared in this scope
}else{cout << "n";
^~~~