V
vbmax
Hi to all!
I have to write the following program.
1.User inputs a number (example: 5)
2.Then (because he entered 5) he enters 5 times, each time different,
3-placed number (example: 134, 256, 425, 253, 275)
3.then I have to find the lowest of those he entered and print it out
I have no idea how do I do that, because If the user enters a mubers
100 so he will input 100 different 3-placed numbers.you have to
declare each number (example: int a = 1;...)so that would mean that i
need to declare 100ints!! but thats impossible, what if the user
decides he is going to input 1000000 different 3-placed numbers?
help me out, please
I have to write the following program.
1.User inputs a number (example: 5)
2.Then (because he entered 5) he enters 5 times, each time different,
3-placed number (example: 134, 256, 425, 253, 275)
3.then I have to find the lowest of those he entered and print it out
I have no idea how do I do that, because If the user enters a mubers
100 so he will input 100 different 3-placed numbers.you have to
declare each number (example: int a = 1;...)so that would mean that i
need to declare 100ints!! but thats impossible, what if the user
decides he is going to input 1000000 different 3-placed numbers?
help me out, please