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