Question: write a small parser input with string expression, double result, the calculation result of expression is the same as result, and the operation contained in
write a small parser input with string expression, double result, the calculation result of expression is the same as result, and the operation contained in expression is only / and *, and there is an unknown number n , and finally returns the value of n. example : expression = "201.55 * n * 3", result = 999
Write program in Java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
