Write a program for Printing 10 number using for loop

//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();

}

Previous
Next Post »