Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

RandomOS/truthtable-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Usage

truth_table [FILE]

Description

Truth table calculator written in ANSI C

  • !: not
  • &: conjunction
  • |: disjunction
  • >: implication
  • #: equivalence
  • A-Z: element

Options

FILE read FILE, each line is an expression, print each true table in line.

Compile

gcc truth_table.c -lm -o truth_table

Test

truth_table[.exe] example.txt > result.txt

About

Truth table calculator written in plain C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages