Pages

Tuesday, 26 June 2012

Loop in c programming

E:\C programming files\time.c
 1 #include <stdio.h>
 2  
 3  int
 4  main (void)
 5  {
 6     int time;
 7  
 8     /* the loop */
 9     for (time=60; time>=0; time=time-1)
10     {
11        printf ("%d  ", time);
12     }
13  
14     printf ("\n\nLIFTOFF!\n\n");
15  
16     return(0);
17  }

1 comment:

Please don't use abusive language.