simple caluculator using switch case in c
Answers
Answered by
0
Simple Calculator using switch Statement And, the two operands, 1.5 and 4.5 are stored in first and second respectively. printf("%.1lf * %.1lf = %.1lf", first, second, first * second); This statement calculates the product and displays it on the screen. Finally, the break; statement ends the switch statement.
Similar questions