Question: C++ Assignment Description: You are to write a simple calculator that will perform basic arithmetic operations on two doubles using C++ Your calculator should handle
C++ Assignment
Description:
You are to write a simple calculator that will perform basic arithmetic operations on two doubles using C++
Your calculator should handle arithmetic operation of two doubles that adhere to the following form:
Your calculator should prompt the user to inquire for an additional calculation or to quit. This process should repeat until the user agrees to quit.
Your program should contain the following functions (note exact spelling is required):
add()
Takes in two doubles and returns the sum of the two doubles.
subtract()
Takes in two doubles and returns the first double minus the second.
multiply()
Takes in two doubles and returns the product of the two doubles.
divide()
Takes in two doubles and returns the first double divided by the second.
getInput()
Responsible for getting the input from the user. Should prompt the users for two doubles and a char in the form
Make sure your program compiles and runs on Linux .
Example output:

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
