Problem 11: C Program to print natural numbers from 1 to 10 in Reverse
#include<stdio.h>
#include<conio.h>
main( )
{
int i;
clrscr( );
for (i=10; i>=1; i--)
printf(“%dn”,i);
getch( );
}
C compiler: gcc 4.1.2
#include<stdio.h>
#include<conio.h>
main( )
{
int i;
clrscr( );
for (i=10; i>=1; i--)
printf(“%dn”,i);
getch( );
}
C compiler: gcc 4.1.2