/*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
}
}
Saturday, August 21, 2010
Program to print 1 to 10 using while loop ( GTU Sem I Program No : 8)
Labels:
C,
GTU Programs
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.