Thursday, 26 January 2012

Program To Print a Table In C++

#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
int i,n,table;
cout<<"enter the number=";
cin>>n;
i=10;
while(i>=1)
{
table=n*i;
cout<<"\n"<<table;
i--;
}
getch();
}

No comments:

Post a Comment