Thursday, 23 July 2015

C Program - For Loop 2

C Program - For Loop 2 




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

Output :-


1
2
3
4
5
6
7
8
9
10

Back to 'C Language Programs'

No comments:

Post a Comment