Código:
Gracias por la ayuda prestada de antemano saludos. #include <stdio.h>
#include <conio.h>
int num1,num2;
float oper;
int resp;
char ope[15];
main()
{
printf("Ingrese dos numeros");
scanf("%d%d",&num1,&num2);
printf("Que operacion aritmetica desea realizar\n");
printf("1. SUMA\n 2. RESTA\n 3. MULTIPLICACION\n 4. DIVISION\n ");
scanf("%d",&resp);
switch(resp)
{
case 1: oper=num1+num2; ope=="SUMA";break;
case 2: oper=num1-num2; ope=="RESTA'";break;
case 3: oper=num1*num2; ope=="MULTIPLICACION";break;
case 4: oper=num1/num2; ope=="DIVISION";break;
}
printf("La %c es: %d con %d es = %.2f",ope,num1,num2,oper);
getch();
}


