#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a,b;
cout<<"\nEnter any number : ";
cin>>a;
cout<<"\n\n---------------------\n";
cout<<" Print Table \n";
cout<<"---------------------\n\n";
for(b=1 ; b<=15 ; b++)
cout<<a<<" * "<<b<<" = "<<a*b<<"\n";
getche() ;
}
#include<conio.h>
void main()
{
clrscr();
int a,b;
cout<<"\nEnter any number : ";
cin>>a;
cout<<"\n\n---------------------\n";
cout<<" Print Table \n";
cout<<"---------------------\n\n";
for(b=1 ; b<=15 ; b++)
cout<<a<<" * "<<b<<" = "<<a*b<<"\n";
getche() ;
}
No comments:
Post a Comment