Java program

profileJake_9876
Directions.docx

Directions:

1. Write a JAVA program that solves the following problem.

2. Please include the following information (as a WORD/PDF document) within the zip file of your code:

1. Instructions, if any, required to use the program, enter values, etc.

2. Cases in which the program will fail with examples, if any.

3. A flowchart and description of how the program works.

3. Submit the program as a link on https://ideone.com/ AND upload the program + file mentioned in (2).

Problem:

1. Given a compound propositional logic statement, give the following as an output:

1. A truth table for the expression starting from individual propositional logic statements and showing all intermediate steps.

2. A simplified version of the statement (ONLY if it is possible to simplify the expression using inference rules).