#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int s,e,l,t,n;
cout<<"\nenter starting number";
cin>>s;
cout<<"\nenter end number";
cin>>e;
for(n=s;n<=e;n++)
{
for(l=1;l<=10;l++)
{
t=n*l;
cout<<"\n"<<l;
cout<<"*";
cout<<n;
cout<<"=";
cout<<t;
}
}
getch();
}
No comments:
Post a Comment