Expression prefix and suffix conversion

Shaped as a * (b + c) -d , bracketed first step, and then converted to the corresponding expression.
((Ax (b + c) ) - d)
Principle: put the sign prefix symbol comprising a front first moves their brackets, the brackets move back the sign extension
prefix :-( x (a + (bc) ) d ) ----> -xa + bcd
suffix: ((a (bc) + ) xd) - ----> abc + xd-

Guess you like

Origin blog.csdn.net/qq_44256227/article/details/93460856