Question: 1.18 Pointsl This problem enhances your ability to read and understand programs written by others. Also, this program demonstrates the usage of selection statements in

1.18 Pointsl This problem enhances your ability to read and understand programs written by others. Also, this program demonstrates the usage of selection statements in C++. Study the program "homework3Questionl.cpp" given with the assignment and answer the questions a) [2 Points] Determine the program output for the following inputs for the choice. Run 1: 1 4 Run 2: 10 Run 3: 4-1 b) 3 Points] Draw a flow chart that represents the flow of control (logic) of this program (Please read lecture notes posted). You can submit this as a jpg format or pdf format. c) 3 Points] Modify the program so that it asks the user if he/she needs to run the program again. If the user enter 'Y' menu should be displayed again otherwise if the user enter 'N' exit from the program. Submit the modified program within comment lines. See the skeleton of the Assignment3.cpp given
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
