Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

How to take multiple int inputs in the same line in C++

cout << "Enter the values of a and b" << endl;
cin >> a >> b; //cascading the cin operator
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #multiple #int #inputs #line
ADD COMMENT
Topic
Name
3+3 =