C Program To Print Number 1 to 10 Using For Loop

PROGRAM :

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



OUTPUT :

1
2
3
4
5
6
7
8
9
10

Post a Comment

0 Comments