C++ Hotspot For Beginners
hundred natural numbers
Program to generate series of Natural Numbers
#include <iostream.h>
#include <conio.h>
int main()
{
int a=1;
while
(a<=100)
{
cout<<a<<"\t";
a++;
}
getch();
return 0;
}
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment