C++ Programs & Stuffz

Nothing like anything!!!

Please Click on ADS!!

Please Click on the above ads given by GOOGLE , so that I can maintain my blog!!

Tuesday, August 31, 2010

Print the first 10 nos

//pgm to print the first 10 nos
#include<iostream.h>
#include<conio.h>
void main()
{
    int i=1;
   while(i<=10)
   {
       cout<<i<<endl;
      i++;
   }
    getch();
}

0 comments:

Post a Comment

free counters