Print 1 to 10 numbers

#include<stdio.h>
#include<conio.h>
Void main()
{
int i,
clrscr()
for(i=10,i>=1;i--)
{
printf("%d"\n",i)
}
getch();
}
1 Like

Hey @jadhavashwini82 welcome to the forums!

Is this a school assignment? Or are you posting a guide for others?

2 Likes