Computer Science, asked by educationveres, 5 hours ago

#include #include main() { float num1; float num2; char op; float result printf("enter the first number:"); scanf("%f",&num1); printf("enter the operation :"); scanf("%c",&op); printf("enter the second number : "); scanf("%c",&num2); switch(op) { case'-': result = num1-num2; printf("%f",result); break; case'-': result = num1+num2; printf("%f",result); break; case'-': result = num1*num2; printf("%f",result); break; case'-': result = num1/num2; printf("%f",result); break; default : printf("the operator is not valid"); } getch() }

calculator by educationverse​ in c language

Answers

Answered by sangitacwc
0

Answer:

it's nat a correct question

Similar questions