I want to allow users to input a mathematical equation. The equations will be simple but there will be some unknown variables.
Example 1:
x + y - 10
here we have x
and y
unknown.
Example 2:
(a + b) * (c + d)
here we have a
, b
, c
, and d
unknown.
Note that the user can input n number of variables in the equation.
Now, I want to find those unknown variables from the equation. And later I will prompt the user to provide the values for those unknown variables.