top of page

# include <iostream>
#include <math.h>
using namespace std;
int main()
{
    int opcion;
    cout<<" Lista de Opciones\n";
    cout<<"Opcion 1" <<endl;
    cout<<"Opcion 2" << endl;
    cout<<"Opcion 3" << endl;
    cout<<"Opcion 4" << endl;
    cout<<"Opcion 5" << endl;
    cout<<"INGRESE UNA OPCION" <<endl;
    switch (opcion)
    {
        Ejercicio 1:
        {
            int m,n,a,b,c,d;
            cin>>n;
            cin>>a;
            cin>>b;
            cin>>c;
            cin>>d;
            for(m=1;m<=n;m=m+1)
            {
                a=a+
            }
        };break;
        Ejercicio 2:
            {
                int i,j,min,max;
                cin>>min;
                cin>>max;
                for(i=min;i<=max;i=i+1)
                for(j=min;j<=max;j=j+1)
                {
                    cout<<i<<"*"<<j<<"="<<i*j;
                }
                
                
            };break;
        Ejercicio 3:
            {
                double p1,p2,v1,v2,t1,t2,minv1,maxv1,minv2,maxv2;
                cin>>p2;
                cin>>t1;
                cin>>t2;
                               for (v1= 10, v1<=20, v1=v1+2 )
                               for (v2=5, v2<= 25, v2=v2+5)
                                 p1= (t1*p2*v2)/(v1*t2)
                                  cout<< p1<< endl;
 
    
            }

                      Ejercicio 4:
                {
                    double h, f, max , min, pi=3.14 , r
                    cin>> max;
                    cin>> min;
                    (x=min xc= max  x=x+4)
                    r= (2*pi*x)/360;
                    f= cosh(r))- sen(r);
                    cout <<f<<endl;)


                           Ejercicio 5:
                       
        {
           double Wf, Wi,t , Alpha
              cinn>> t; 
             for (Wf=20  , Wf<=50  Wf= Wf+5)
           for (Wi=10  , Wi<=50  Wi= Wi+10)
      {

             Alpha (Wf- Wi )/t
                 cout <<Alpha << endl,
                   }
       //system ("pause");
 return 0;              
 }
           

bottom of page