Answer the question
In order to leave comments, you need to log in
How to make multiple input of numbers through cin depending on the value of the variable of its number?
To begin with, we enter a number through the console window, which will be the number of values requested in the subsequent cin. It is also important that later these values can be used somehow. For example: we enter the number 3.... then on the next line we must enter three numbers, and later use their values in calculations. It is important to remember that the value that we enter first is in the range from 1 to 1000 inclusive and is an integer.
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