Question: please help ASAP. my code has a tiny error I can't find! 5.2 Lab 27: Repetition of Mathematical Expression In Lab 25, you were required
please help ASAP. my code has a tiny error I can't find!




5.2 Lab 27: Repetition of Mathematical Expression In Lab 25, you were required to write a program that computed the result of a simple mathematical expression consisting of a floating point operand, an operator, and another floating point operand. This assignment requires you to modify that program so that it will continue to repeat until both operands contain a zero. For example, o + o should terminate your program. When the input is as shown in Figure 1, your program should produce the output as shown in Figure 2. Figure 1: (sample input) -5 + 5 -5 - 5 Figure 2 (sample output) -1.1 + 0 = 0 3.27 / 9 = 0.363333 4 x 8.1 = 32.4 7 X 9.95 = 69.65 -5 + 5 = -10 -5--5 = 0 4 5 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
