0
user input multiple time throughout the program.
#include<iostream> using namespace std; int main() { int a,b; cout<<"Please enter a number"<<endl; cin>>a; cout<<"Enter another number \n"; cin>>b; cout << a << "" " << b; return 0; } i dont understand cout << a << " "<< b; ???
1 Answer
+ 1
they are going to be spaced, lets say a is 2, b is 4. On the end its going to be:
2 4.
There is a space because of the " "