Question: 1. This is a JSFiddle Assignment so this needs to be written at jsfiddle.net with both the HTML and Java script included. 2. Implement a

1. This is a JSFiddle Assignment so this needs to be written at jsfiddle.net with both the HTML and Java script included.

2. Implement a Stack in Javascript. Do not use an array as the stack or in the implementation of the stack. Repeat You MUST implement the Stack (start with your linked list) without the use of an array.

3. You will build a Stack Computer from your stack.

4. When a number is entered it goes onto the top of the stack.

5. When an operation is entered, the previous 2 numbers are operated on by the operation and the result is pushed onto the top of the stack. This is how an RPN calculator works.

For example:

2 [enter] 2

5 [enter] 5

2 * [enter] * 5 2 -> collapses to 10

would leave at 10 at the top of the stack.

6. The program should use a simple input box, either a text field or prompt and display the contents of the Stack.

**Please show code and an example of successful output**

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!