|
total newb question-loops
total newbie question try your best not to laugh too hard! doing a module in C next term at school - only started a few nights ago and already trying to use loops is doing my head in. I must just not have the brain for it.
anyway - how would you get it to print out the following:
enter a number (eg. 5)
1
12
123
1234
12345 etc. etc (up to what ever number the user types in)
i told you not to laugh.
thanks in advance
chris
|