#include < iostream.h >
//Program to print natural numbers 1... 100 using while loop
void main()
{
int n=1;
cout << endl << "The numbers are" ; 
while (n < =100)
{
cout << n << ‘\t’;
}
cout << endl;
}
<< GO BACK

Our aim is to provide information to the knowledge seekers. 


comments powered by Disqus




Footer1