Tuesday, 5 September 2017

C - Program to print from 1 to 100 numbers.

PROGRAM :  Print from 1 to 100 numbers. 


#include<stdio.h>

int main()
 {
    int i;
     for(i=1;i<=100;i++)
     {
         printf("%d\n",i);
     }
return 0;
 }

OUTPUT :
1
2
3
4
5
.
.
.
.
.
100

No comments:

Post a Comment