Skip to content

candh/truth-table-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages