Answer the question
In order to leave comments, you need to log in
Reading from keyboard up to space into C++ variable?
Two numbers are entered from the keyboard, separated by a space: 324 5676. There are two variables in the program, for example: int a, int b. You need to write the first number (before the space) into the variable a, the second number (before the space) into the variable b. How to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question