Example of C part 2 print numbers 1 to 100
Print numbers
Program:
Output:
1
2
3
4
5
.
.
.
.
.
100
Program:
#include<stdio.h> main() { int i; for(i=1;i<=100;i++) { printf("%d\n",i); } }
1
2
3
4
5
.
.
.
.
.
100