ProAnswers.org

Write a program to print frst 10 numbers one by one

How would you like to print the numbers.
Please specify details…

#include
#include
void main()
{
int a; // a is an integer
clrscr(); // this is a function that used to clear the previos output
for(a=1;a<=10;a++)
{
printf("%d
",a);
}
getch();
}