Saturday, 10 December 2011

Write a program to print Decrement order in c

#include
#include
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