#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int i,a,b;
cout<<"Enter a number:";
cin>>a;
for(i=1;i<=10;i++)
{
b=a*i;
cout<<endl<<a<<"*"<<i<<"="<<b;
}
cout<<endl<<"Your Required Table";
getch();
}
#include<conio.h>
void main()
{
clrscr();
int i,a,b;
cout<<"Enter a number:";
cin>>a;
for(i=1;i<=10;i++)
{
b=a*i;
cout<<endl<<a<<"*"<<i<<"="<<b;
}
cout<<endl<<"Your Required Table";
getch();
}
No comments:
Post a Comment