Question: Can someone help me do this for Java language please Step 3 The RPN Calculator By now you should have a working stack and queue.
Step 3 The RPN Calculator By now you should have a working stack and queue. Use the stack to create an RPN calculator. You will have to make a decision whether you want to use inheritance or simple composition to make the RPN calculator work. You will also have to make a decision as to what the interface into the RPN calculator is. One of the things that needs to be considered is parsing the input. We know that an RPN calculator will operate on an expression like so: 3 2 5 but what happens if someone puts more that one space in between each token of the input? You will need to handle something things like: 3 2 What you should do is allow the interface to take a string type and then parse the tokens out of the string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
