//this is a program of for loop
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
printf("\n\nPrinting 10 number using for loop: ");
for(i=1;i<=10;i++)
{
printf(" %d ",i);
}
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
printf("\n\nPrinting 10 number using for loop: ");
for(i=1;i<=10;i++)
{
printf(" %d ",i);
}
getch();
}