Question: I need help! CS 317 Calculator Program Write a program to input three values, two floats and an operator print out what were read and
CS 317 Calculator Program Write a program to input three values, two floats and an operator print out what were read and the resulting evaluation. The operators to handle are +, -, *, / and. The floats are one or more digits in length. The last input is sentinel value 0+ 0; Read a float, char, float for input. cin >> vi>>opchar >> V2; Input File: SimpleCal6.txt Example input: 78.2 + 9.0 Example Output: 78.2 +9.0 -87.2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
