#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:
it's nat a correct question
Similar questions
Business Studies,
12 days ago
Chemistry,
12 days ago
English,
26 days ago
Hindi,
8 months ago
Hindi,
8 months ago