Question: 1- Finish the calculator C code as attached. Test it with different values for value1 and value 2 and make sure it does the calculation

1- Finish the calculator C code as attached. Test it with different values for value1 and value 2 and make sure it does the calculation correct and the display correct
2- Choose D and enter 0 for value 2. What happens to the result? How can you change the code so that it handles this case (it shows division by 0 error instead of what you saw)
1 START DISPLAY "Please enteration for And for subtract for divide and M for all for quit gel operation DISPLAY Please enter two numbers read value, value 2 operation delout result = value+ value result value value2 result-value 11 value2 Tesut value valus disp"Invalid Operation symbol symbole symbol symbol operation = A or operation Mor operation or operation - S True Disp value1, symbol value2.result END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
