I would like to know if it's possible to write a program that will allow the users to input the "amount" of number that they wish to enter, and then prompt the users to input the number "values" until the amount reaches the user input value and stop the program without using array; just use the "for" or "while" statement.
eg)
start
prompt user for the amount of numbers they wish to enter.
store amount in variable N
for (N=0; N<=N; N++)
prompt user for number values
store number values to X
end when the amount of input reaches N
end
...I have no idea if this is anywhere close to the right track lol.
or, is there a way for the program to stop when newline has reach N?