This program accepts an expression containing up to four variables and generates a truthtable for that expression. Each of the variables should be a letter of the alphabet, and the program does not distinguish between upper and lower case (i.e. it treats 'A' and 'a' as being identical). Please use a full stop (.) to indicate AND, a plus sign (+) to indicate OR, and the ¬ to indicate NOT (inverter). If you don't have the ¬ on your keyboard, you may use the ^ symbol instead.
The truthtable will appear below: