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
2
3
4
5
.
.
.
.
.
100
No comments:
Post a Comment