Program to print natural numbers from 1 to 10 in Reverse - 100 Most Important C# Programs

100 Most Important C# Programs

11. Program to print natural numbers from 1 to 10 in Reverse

Code:

# include <stdio.h>

# include <conio.h>

main( )

{

int i;

clrscr( );

for (i=10; i>=1; i--)

printf(“%d\n”,i);

getch( );

}