Friday, December 6, 2013
Home »
Display 1 to 10 numbers by for loop
,
Program For Loop Display 1 to 10
» Program For Loop Display 1 to 10
Program For Loop Display 1 to 10
/*
Write a C++ Program to display 1 to 10 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 = 1; counter <= 10; counter++)
cout<<"\n"<<counter;
getch();
}
0 comments:
Post a Comment
We Love To Hear From You!