Question: c++ chp7 Write a program with at least five functions that produce output as shown below. The operation that is allowed are (+, addition), (-,

c++ chp7
Write a program with at least five functions that produce output as shown below. The operation that is allowed are (+, addition), (-, deduction) and (*, multiplication). Only five time of operations are allowed. Invalid operators will result with O value. PLEASE DO ANOTHER STEP OF CHECKING, IF IT IS DIVISION SYMBOL (), PLEASE RECALCULATE THE CORRECT VALUE. OTHER OPERATOR REMAIN AS INVALID. Your value and operator key-in by user can be anything without following the example output below. (Only function and conditional statement is allowed in the program). X Microsoft Visual Studio Debug Console FIRST OPERATION Please key in first value: 4 Please key in second value: 6 Please key in the operator(+ or - or *): SECOND OPERATION Please key in first value: 5 Please key in second value: 3 Please key in the operator(+ or - or *): / Error...Wrong operator. (+ or - or *) THIRD OPERATION Please key in first value: 5 Please key in second value: 6 Please key in the operator(+ or - or *): + FOURTH OPERATION Please key in first value: 4 Please key in second value: 7 Please key in the operator(+ or - or *): / Error... Wrong operator. (+ or - or *) LAST OPERATION Please key in first value: 6 Please key in second value: 5 Please key in the operator (+ or - or *): - RESULT OF FIRST OPERATION, 4 * 6 = 24 RESULT OF SECOND OPERATION, This is division operator 5 / 3 = 1.66667 RESULT OF THIRD OPERATION, 5 + 6 = 11 RESULT OF FOURTH OPERATION, This is division operator 4 / 7 = 0.571429 RESULT OF LAST OPERATION, 6 - 5 = 1 Thank you and congratulation because WE ARE ABLE TO COMPLETE THIS PROGRAMMING CHALLENGES!!!!!! C:\Users\Administrator source epos\ConsoleApplication3\Debug\ConsoleApplicati on3.exe (process 9184) exited with code 0. Press any key to close this window
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
