
Write a C++ Program to display 10 down to 1 numbers by FOR Loop
For Free C++ Programming Techniques (Example Programs), visit
Www.EasyCppProgramming.Blogspot.Com
and For Good Notes
Visit Www.ForFreeEducation.Blogspot.Com
*/
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int counter;
cout<<"\n\n ----------- Results ------------";
cout<<"\n\n Display Numbers from 1 to 10 by For Loop ";
for (counter = 10; counter >= 1; counter--)
cout<<"\n"<<counter;
getch();
}
0 comments:
Post a Comment
We Love To Hear From You!