Equation | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
+ 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