Question: Create a C++ program that solves the following equations: R = A + B * C - D + E Print the values of R,
Create a C++ program that solves the following equations: R = A + B * C - D + E
Print the values of R, A, B, C, D, and E.
Example output:
Enter a value for A: 10
Enter a value for B: 3
Enter a value for C: 2
Enter a value for D: 2
Enter a value for E: 10
The values entered are: A: 10 B: 5 C: 15 D: 2 E: 10 R = 26
Note: Your program should read values using cin
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
