C-Programs
Monday, 4 September 2017
C - Program to 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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment