Wednesday, 18 January 2012
Program To Print The Table In C++
#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
int i,n,table;
cout<<"enter the number=";
cin>>n;
for(i=10; i>=1; i--)
{
table=n*i;
cout<<"\n"<<table;
}
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment