1
Answer

help me please, Calculation Code

Ask a question
ali j

ali j

18y
2.2k
1
hi
I'm trying to write a code in C++ which implement a class that performs simple
calculations. The class will expose a single public method which takes in a string and returns a
double value that is the result of evaluating the expression stored in the string. If the string does
not contain a valid expression, the method should throw a string exception.

any one knows how to do it? please

Answers (1)