Skip to content

amthug/clearTaxAssign

Repository files navigation

Program to read a single variable equation from json and solve.

Json input: { "op": "equal", "lhs": { "op": "add", "lhs": 1, "rhs": { "op": "multiply", "lhs": "x", "rhs": 10 } }, "rhs": 21 }

Output: Equation: 1 + (x * 10) = 21 x = (21-1)/10 x = 2

About

Evaluate expression given as json input

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages