Thursday 23 July 2015

C Program - For Loop 1

C Program - For Loop 1



#include<stdio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=1;i<=10;i++)
{
printf(" %d",i);
}
getch();
}

Output :- 


1 2 3 4 5 6 7 8 9 10


Back to 'C Lanaguage Programs;

No comments:

Post a Comment