New course! Every coder should learn Generative AI!
Try a free lesson+ 2
How can i input two values in imput window?
2 Answers
+ 2
int a, b, c;
std::cin >> a >> b >> c;
You can enter the values like this:
1 2 3 *enter*
or:
1 *enter* 2 *enter* 3 *enter
+ 5
separate lines.