Skip to content

MarkConstantine/Truth-Table-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Truth Table Generator

Basic console-based Java program to compute the truth table of a given boolean expression.

How-to

Declaring a TruthTable object.

  • TruthTable t = new TruthTable(String BOOLEAN_EXPRESSION, boolean EVALUATE_TRUTHS_FIRST)

Input Characters (Can be Changed)

Operator Input Symbol Precedence (Higher number = Higher priority)
NOT ~ 5
AND & 4
OR + 3
CONDITIONAL > 2
BICONDITONAL = 1

First time programming in Java, so any feedback would be appreciated.

About

Basic console-based Java program to compute the truth table of a given boolean expression.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages