# Ejercicio 1

# include <iostream.h>
# include <math.h>
int n, m, I,P;
void main ()
{
cout<<"digite inicio de intervalo: ";cin>>n;
cout<<"digite final del intervalo: ";cin>>m;
for (I=n;I<=m;)
{
if (P=(I%15!=0));
{
cout<<"es multiplo de 15: "<<P<<endl;
}
I=I+1;
}
}

cout<<"* 5. cout<<"1*"<<i<<"= "<<n<<endl. Tabla del cinco *"<<endl. void main () { cout<<"*****************************************************" <<endl. Tabla del seis *"<<endl. for (i=0. cout<<"Digite una opcion: ". cout<<""<<endl.h> # include <math.h> int op. n. cout<<""<<endl.i<=10. cout<<"* 6. cout<<"* 9. .) { n=(1*i). Tabla del tres *"<<endl. switch (op) { case 1: cout<<"****************************************"<<endl. Tabla del diez *"<<endl. cout<<"*****************************************************" <<endl. cout<<"* 2. Tabla del siete *"<<endl. cout<<"* TABLAS DE MULTIPLICAR *"<<endl. cout<<"* 10. Tabla del nueve *"<<endl. cout<<"* 4. Tabla del ocho *"<<endl.Ejercicio 2 # include <iostream.cin>>op. Tabla del uno *"<<endl. cout<<"* TABLA DE MULTIPLICAR DEL 1 *"<<endl. cout<<"****************************************"<<endl. cout<<"* 3. Tabla del dos *"<<endl. Tabla del cuatro *"<<endl. cout<<"* 8. i. cout<<"* 1. cout<<"* 7. i=0.

case 3: cout<<"****************************************"<<endl. case 4: cout<<"****************************************"<<endl.) { n=(3*i). cout<<""<<endl.) { n=(2*i). for (i=0. cout<<"* TABLA DE MULTIPLICAR DEL 4 *"<<endl. cout<<"****************************************"<<endl. for (i=0. cout<<""<<endl. cout<<"****************************************"<<endl. for (i=0.i=i+1. cout<<"****************************************"<<endl. i=i+1. i=0. i=0. cout<<""<<endl. cout<<"* TABLA DE MULTIPLICAR DEL 2 *"<<endl. cout<<""<<endl. i=0.i<=10. cout<<"* TABLA DE MULTIPLICAR DEL 3 *"<<endl. } break. } break.i<=10. case 2: cout<<"****************************************"<<endl. cout<<"3*"<<i<<"= "<<n<<endl. cout<<"2*"<<i<<"= "<<n<<endl. } break. cout<<""<<endl. cout<<""<<endl.) . i=i+1.i<=10.

cout<<"6+"<<i<<"= "<<n<<endl. cout<<"5*"<<i<<"= "<<n<<endl. } break. cout<<"* TABLA DE MULTIPLICAR DEL 6 *"<<endl. i=i+1. for (i=0. } break. cout<<"****************************************"<<endl. cout<<""<<endl.i<=10. cout<<""<<endl. case 7: cout<<"****************************************"<<endl. cout<<""<<endl. i=0. } break. i=i+1. case 5: cout<<"****************************************"<<endl. . cout<<"* TABLA DE MULTIPLICAR DEL 5 *"<<endl. cout<<""<<endl. for (i=0. cout<<"****************************************"<<endl.) { n=(6*i). cout<<""<<endl. cout<<"4*"<<i<<"= "<<n<<endl. case 6: cout<<"****************************************"<<endl. i=0.) { n=(5*i). i=i+1.i<=10. cout<<"****************************************"<<endl. cout<<"* TABLA DE MULTIPLICAR DEL 7 *"<<endl.{ n=(4*i).

cout<<"9*"<<i<<"= "<<n<<endl. } break.) { n=(8*i). cout<<"****************************************"<<endl. cout<<"* TABLA DE MULTIPLICAR DEL 9 *"<<endl.cout<<""<<endl.i<=10. i=0.i<=10. i=i+1. cout<<""<<endl. case 9: cout<<"****************************************"<<endl. cout<<"8*"<<i<<"= "<<n<<endl. i=i+1. i=0. i=0. case 10: cout<<"****************************************"<<endl.) { n=(7*i). for (i=0. for (i=0. for (i=0. cout<<""<<endl.) { n=(9*i). i=i+1. cout<<"****************************************"<<endl. } break. cout<<"* TABLA DE MULTIPLICAR DEL 8 *"<<endl. cout<<""<<endl.i<=10. } break. case 8: cout<<"****************************************"<<endl. . cout<<""<<endl. cout<<"7*"<<i<<"= "<<<<endl.

} break.cout<<"* LA TABLA DE MULTIPLICAR DEL 10 *"<<endl. cout<<""<<endl. cout<<"****************************************"<<endl. for (i=0.) { n=(10*i). i=i+1. i=0. cout<<"10*"<<i<<"= "<<n<<endl. } } } . cout<<""<<endl.i<=10. default: { cout<<"No es una opcion valida"<<endl.