Código:
  
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
    double x,y,z,rs;
    int X,Y;
    cout<<"Operaciones"<<endl<<"1 ---> Suma"<<endl<<"2 ---> Resta"<<endl<<"3 ---> Multiplicacion"<<endl<<"4 ---> Divicion"<<endl<<"5 ---> Potencia"<<endl;
    cout<<"Ingrese el numero correspondiente a su operacion:"<<" ";
    cin>>x;
    cout<<"Primero Numero:"<<" ";
    cin>>y;
    cout<<"Segundo Numero:"<<" ";
    cin>>z;
    if(x==1)
    rs=y+z;
    if(x==2)
    rs=y-z;
    if(x==3)
    rs=y*z;
    if(x==4)
    rs=y/z;
    if(x==5)
    
    cout<<"El resultado de la operacion es:"<<" "<<rs<<endl;
    system("PAUSE");
    return EXIT_SUCCESS;
}
Código:
  
es desir que si x vale 5 que debe hacer no se como se poncia ayuda if(x==5)
 
 

