+ 1

Hi. What is wrong with this code

I am trying to print out whatever the user inputs into int a. #include <string> using namespace std; int main() { int a; cin >> a; cout << a return 0; }

7th May 2018, 8:47 AM
Dyary
Dyary - avatar
2 Respostas
+ 4
If you use cout and cin, this code needs "#include <iostream>"
7th May 2018, 8:49 AM
Disvolviĝo;
Disvolviĝo; - avatar