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; }

4th Nov 2019, 6:11 PM
Assou Sipas
Assou Sipas - avatar
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++
4th Nov 2019, 6:17 PM
Chirag Kumar
Chirag Kumar - avatar
0
This code prints 2 numbers entered by user!
4th Nov 2019, 6:13 PM
Chirag Kumar
Chirag Kumar - avatar
0
do i have to put something here
4th Nov 2019, 6:15 PM
Assou Sipas
Assou Sipas - avatar
0
cout << a << " "<< b; }
4th Nov 2019, 6:15 PM
Assou Sipas
Assou Sipas - avatar
0
the 2 " "
4th Nov 2019, 6:15 PM
Assou Sipas
Assou Sipas - avatar