C program to print 1-10 numbers

, by Prashant Gunjal




Program to print 1 - 10 numbers

#include<stdio.h>

void main()
{
int i;
clrscr();
for(i=1;i<=10;i++)
printf("\n\t%d",i);
getch();
}

Output :

0 comments: