Project Description
Text-based calculator that accepts a string of input and performs mathematical operations on the numeric values represented by the data in the string.
This is the source code for a text-based calculator program written in C++. The program is currently capable of working with parentheses, exponents, multiplication, division, addition, and subtraction. To use the program, simply type a mathematical expression into the command prompt and press enter.
For example, typing in:
2 - 5 * 3 - (4 + 7^2) / 5
Will result in this output:
Solution: -23.6
To exit the program, type exit.