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("\n \t%d",i);
getch( );
}

Output:
Run-




No comments:

Post a Comment

100 C Programs with Code and Output

Program 1: C Program To Read Two Numbers And Print The Sum Of Given Two Numbers. Program 2: C Program To Read Three Numbers And Prin...