Completely Solved C, C++ Programs Assignment.




C Program to print natural numbers from 1 to 10 in Reverse

Filed Under:

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

Back to main directory: Sample C Program | Software Practical | Solved C Assignment


Get Free Programming Tutorials and Solved assignments