Pages

Saturday, 19 May 2012

program to print Decrement order


53./*Write a program to print Decrement order*/

#include<stdio.h>
#include<conio.h>
main()
{
int a;
clrscr();
for(a=25;a>0;a=a-1)
printf("\n%d",a);
getch();
}

OUTPUT
            25 24 23 22 21 …………………… 3 2 1

No comments:

Post a Comment