Guyz, I really need help on this.

I'm trying to make some mathematical programming.

We can input any equation and then the compiler will detect how many variables was (on the equation). After that, we'll input the variable value to get the final solution.

Example:

Please input an equation,f =

= (x*x)+(4*y)-(4*z*z*z) // ( f ) = x² + 4y - 3z³ = 0

Output:

There were 3 variables = x, y and z. Please insert the value for every variable.

x= 1

y= 2

z= 3

Solution: f = -101

Sorry for my bad english ;-/