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

in C++ in C++ 2) For this question you can modify your answer to

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!