0
could someone explain me what i have to do here
#include <iostream> using namespace std; int main() { int a, b; cout << "Enter a number \n"; cin >> a; cout << "Enter another number \n"; cin >> b; cout << a << " "<< b; return 0; }
5 Answers
+ 1
Nope, just run program on sololearn and input window ask you to enter value.
Enter your 2 value and hit ok it will print your entered value on console window.
Edit: And I recommend you to learn more c++ lesson you will understand by yourself if you do more lessons on c++
0
This code prints 2 numbers entered by user!
0
do i have to put something here
0
cout << a << " "<< b;
}
0
the 2 " "