Computer Science Canada times table |
Author: | WooFerPPK [ Tue Oct 01, 2002 7:01 am ] | ||
Post subject: | times table | ||
i have to make a program that displays a time table, now i need it to count from 12 to 1. i got this so far
now i instead of it going like this 1 2 3 i want the numbers to go down like this 3 2 1 what am i doing worng? |
Author: | Tony [ Tue Oct 01, 2002 9:14 am ] | ||||
Post subject: | |||||
well here's your problem:
since you count downwards then it will first print on 12th line and go up. what you can do is to set up a separate counter that will add 1 every time for loop starts.
|
Author: | WooFerPPK [ Tue Oct 01, 2002 11:32 am ] |
Post subject: | |
Thanks again tony |