program about for loop

program to execute 1-10 in decending order



start....

#include<conio.h>
#include<iostream.h>
void main()
{
int a;
clrscr();
for(a=10;a>=1;a--)
cout<<"\n"<<a;
getch();
}

Comments

Post a Comment

Popular posts from this blog

turbo c++ 3.2