#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a,n;
cout<<"enter the number whose table is to be print"<<"\n";
cin>>n;
for(int i=1;i<=10;i++)
{
cout<<"\n"<<i*n;
}
getch();
}
#include<conio.h>
void main()
{
clrscr();
int a,n;
cout<<"enter the number whose table is to be print"<<"\n";
cin>>n;
for(int i=1;i<=10;i++)
{
cout<<"\n"<<i*n;
}
getch();
}
No comments:
Post a Comment