Quote:
Originally Posted by xpi0t0s View Post
I assume that the intent of your loop is to count down from X to 1, so the output should be 10 9 8 7 6 5 4 3 2 1, but what is it and how can you fix it so that it does that?

One thing worth knowing is that for (A; B; C) { D; } is equivalent to A; while (B) { D; C; } (yes, really D then C) so as an experiment you might try rewriting the for loop as a while loop.
I need the loop so that the user defines homw lots of info required to input eg 5. then he can input the information into the relevant catorgory 5 times.