Saturday, August 21, 2010

Program to print 1 to 10 using while loop ( GTU Sem I Program No : 8)

/*Program to print 1 to 10 using while loop 
  Program No         :- 8 of GTU Practice Programs SEM I 
  Developed by       :- Malhar Vora 
  Developed on       :- 21/07/2010 
  Email              :- vbmade2000@gmail.com 
  Web Site           :- http://malhar2010.blogspot.com 
  Development Status :- Completed
**************************************************/  
void main()
{
     int n=1;

     while(n<=10){
 printf("%d\n",n);//Prints n
 n++; //Incrementing n
     }
}

1 comment:

  1. Appreciation for nice Updates, I found something new and folks can get useful info about BEST ONLINE TRAINING

    ReplyDelete