Implement a desk calculator using operator precedence parsing.
$ g++ main.cpp
$ ./a.out
$ 6+(5*3-(10/5))
> 19
- Negative values are not handled. i.e.
5-9
is good but-4
is not. - Supported operations addition, substraction, multiply, divide.
- Brackets
()
are supported.