+ 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; }
2 Antworten
+ 4
If you use cout and cin, this code needs "#include <iostream>"