Ad Code

Write a program to print 1 to 100 numbers using for loop.

Write a program to print 1 to 100 numbers using loop.



#include<stdio.h>
#include<conio.h>
void main()
{
int i ;
clrscr();
for(i=1;i<=100;i++)
{
printf(“%d”,i);
}
getch();
}

Post a Comment

0 Comments

Ad Code