Input a mathematical / Boolean expression and it will evaluate it then tell you the answer. All the different parts of the expression have to be separated by spaces. Here is an example: ( ( 3 * ( 4 + 5 ) ) = ( ( 6 * 4 ) + 3 ) ) (here's another one:) ( ( ( ( 6 / ( 1 + 1 ) ) * ( 8 / 2 ) ) > ( ( 4 * 6 ) - ( 2 * 5 ) ) ) o ( 3 < ( 2 * 2 ) ) ) Here's a list of what you can put in: Math: + - * / Boolean: = != > !> (<=) < !< (>=) a (and) o (or) This project will give Boolean answers as 1 (true) or 0 (false)
I made all the code for this. If you find anything that doesn't work try making sure you have the spaces correct and if it still doesn't work then tell me. This works by recursively looking at every set of parentheses and replacing it with a number.