create a console-based calculator application. The calculator
should be able to solve basic mathematical calculations.
The calculator should store the result of an expression in a variable called "ans", which can be
used as an input in other mathematical expressions, as shown in the following statements:
please help me. its urgent.