Program No : 17 :

Write a program in C to print the numbers 1 to 100 ?

program no :17 /* purpose : print the numbers between 1 to 100*/ #include <"stdio.h"> #include <"conio.h"> void main() { int loop; printf("the numbers between 1 to 100\n"); for(loop=1;loop<=100;loop++) printf("%d ",loop); getch(); }

Back