Java – Developing calculator without using any control statement?
Asked By
20 points
N/A
Posted on - 08/02/2011

Hi Everybody!
I need to develop a basic calculator with only the basic functionalities i.e +,-,*,/ in java for my University assignment.
The restriction is that the calculator must be programmed without using any control statement e.g if, else, or any loop or switch statement.
Is there a possibility for taking input in the form of strings and then separating operand and operators in java?
I will be highly obliged in entertained.
Majida
