View Single Post
Old 05-28-2005, 03:39 AM   #1 (permalink)
cjsmith22
Registered User
 
Join Date: May 2005
Posts: 2
cjsmith22 is on a distinguished road
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
cjsmith22 is offline   Reply With Quote