0

How to take 2 inputs that were written on the same line but separated with space in cpp

22nd Oct 2019, 10:13 PM
Guco Vuco
Guco Vuco - avatar
2 Answers
+ 1
Use two variables, one variable for each value. cin >> var1 >> var2;
22nd Oct 2019, 10:38 PM
Isaac Salcedo
Isaac Salcedo - avatar