#include<iostream.h>
#include<conio.h>
void main()
{
int a,i,n;
clrscr();
cout<<"Enter the no:-";
cin>>a;
cout<<"table of n is:-"<<a;
for(i=1;i<=10;i++)
{
n=a*i;
cout<<"\n"<<n;
}
getch();
}
/*Output:-
Enter the no:-9
table of n is:-9
9
18
27
36
45
54
63
72
81
90*/
No comments:
Post a Comment