include<iostream.h>
#include<conio.h>
void table(int a);
void main()
{
int t;
cout<<"enter table"<<endl;
cin>>t;
table(t);
getch();
}
void table(int a)
{
for(int n=1;n<=10;n++)
cout<<a<<"*"<<n<<"="<<a*n<<endl;
}
#include<conio.h>
void table(int a);
void main()
{
int t;
cout<<"enter table"<<endl;
cin>>t;
table(t);
getch();
}
void table(int a)
{
for(int n=1;n<=10;n++)
cout<<a<<"*"<<n<<"="<<a*n<<endl;
}
0 comments:
Post a Comment