#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
0
Answer:
cuzfu j gixuffixgxigxigi uvh u h h h h h h jokbob oh kv iv iv iv iih oh oh ih
Similar questions