Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
reverse polish notation experimentRunning example test calculation You entered: 9 Stack is now : 9 You entered: 9 Stack is now : 9,9 You entered: 3 Stack is now : 3,9,9 You entered: * Stack is now : 27,9 You entered: 6 Stack is now : 6,27,9 You entered: 2 Stack is now : 2,6,27,9 You entered: ** Stack is now : 64,27,9 You entered: - Stack is now : 37,9 You entered: * Stack is now : 333 You entered: clear Stack is now : You entered: hello_ Stack is now : hello_ You entered: ucfirst Stack is now : Hello_ You entered: world Stack is now : world,Hello_ You entered: swap Stack is now : Hello_,world You entered: . Stack is now : Hello_world Output : Hello_world You entered: clear Stack is now : Starting interactive rpn calculator: Enter values or operations or unquoted strings or 'quit' to quit. DO NOT QUOTE STRINGS, the calculator will try and guess what you need. For Multi-statement input use square braces and separate using spaces RPN> |
λ
.NET NoSQL database for rapid development
|