0

Equation

How could I find the value of variable in an equation in c++ For example consider an equation 2x+2=4 what will be the code to solve this eq.

31st May 2018, 4:08 PM
Fahadiqbal
1 Answer
+ 1
You need to use the information of an integer additive group (or ring, if you want to multiply) in your program, or use numerical methods to interpret and analyze the string(equation) you are interested in.
31st May 2018, 4:28 PM
Bebida Roja
Bebida Roja - avatar