Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 598 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 598 Bytes

challenge from last semester from a professor. i couldn't solve it then because i wasn't aware of the power of the stack.

works okay... run with -a to sort the operands alphabetically

  • supports brackets also

things that you shouldn't do

  • run with brackets that are not parentheses

operators are

"=" BiConditional, ">" Implies, "+" Or, "&" And, "~" Not

all tests runs are confirmed by this http://turner.faculty.swau.edu/mathematics/materialslibrary/truth/

outputscreen