Question: in C++ 2) For this question you can modify your answer to Lab 2.1 question 1. Write a program that takes in three inputs, The
2) For this question you can modify your answer to Lab 2.1 question 1. Write a program that takes in three inputs, The first is a numeric input, the next is char, the final is another numeric input. The second input must be char that is ' '+', '-', '*', or ' l ' if it is any other char it MUST be rejected. The second input is used as the operator and the first and third inputs as operands. The program will calculate the operator applied to the operands, print the result, then exit. As always, provide your source code and test suite for this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
