in reply to Re^2: How would you solve a user-inputted simple one-variable Linear Equation
in thread How would you solve a user-inputted simple one-variable Linear Equation
I was lazy and left off the righthand side... if you have something like 2+3x+7(x+27)-6= 23x-45-(145+62-5)x then you would just start with a split on the = sign and parse the two halves separately.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: How would you solve a user-inputted simple one-variable Linear Equation
by nat47 (Sexton) on Apr 25, 2015 at 18:33 UTC |
In Section
Seekers of Perl Wisdom