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