Ok, this is gonna sound stupid but heres my problem.
I have an array or reals size 20. I want the user to enter as many values as they would like up to 20. If they want less, fine, but how do I go about exiting the loop? Say they entered their 5 values they wanted, and now want the statistics calculated on it.
I dont want to ask the user every time if they want to enter another number, as that gets annoying after a while. Is there a way around it, say if they just dont enter anything?
Thanks in advance.
I have an array or reals size 20. I want the user to enter as many values as they would like up to 20. If they want less, fine, but how do I go about exiting the loop? Say they entered their 5 values they wanted, and now want the statistics calculated on it.
I dont want to ask the user every time if they want to enter another number, as that gets annoying after a while. Is there a way around it, say if they just dont enter anything?
Thanks in advance.