#include <iostream>
using namespace std;
int main (){
int lim=0, mr=0, mo=0;
char seguir='s';
while(seguir=='s' || seguir=='S'){
cout<<"seleccione la tabla que desea ver"<<endl;
cout<<"La tabla de 1"<<endl;
cout<<"La tabla de 2"<<endl;
cout<<"La tabla de 3"<<endl;
cout<<"La tabla de 4"<<endl;
cout<<"La tabla de 5"<<endl;
cout<<"La tabla de 6"<<endl;
cout<<"La tabla de 7"<<endl;
cout<<"La tabla de 8"<<endl;
cout<<"La tabla de 9"<<endl;
cout<<"La tabla de 10"<<endl<<endl;
cout<<"tabla: ";
cin>>mr;
cout<<endl;
cout<<"ingrese hasta que numero desea que se muestre la tabla"<<endl;
cin>>mo;
do{
cout<<mr<<"x"<<lim<<"= "<<mr*lim<<endl;
lim++;
}while(lim<=mo);
cout<<"desea continuar S|N";
cin>>seguir;
}
}