/FormulaHelper

Java app which allows you to split complex ternary conditions into a series of simple true/false questions

Primary LanguageJava

Hello and thanks for trying out my formula helper!

How to run

Simply download the JAR file and enter a ternary formula (e.g. condition && anotherCondition ? trueResult : falseResult)

The program will offer some basic linting on the formula - checking that open and closing parentheses are even and in a logical order, and the same for question marks and colons.

If the formula passes validation, it will then be broken down into a series of true/false questions designed to guide you to the eventual output of your formula for the given conditions.

Dev - run in IntelliJ

Sometimes get an error about language level.

Fix with File | Settings | Build, Execution, Deployment | Compiler | Java Compiler -> Same as language level