Question: Hi, I need help with computation using a stack homework. It was a C++ programming homework question will be posted below. Please use CLASS to

Hi, I need help with computation using a stack homework. It was a C++ programming homework question will be posted below. Please use CLASS to do this program and what I need was a program which can calculate entered the number in infix format using a set of + - * / Thank you for your help... Also, include the output.....

--------------------- Question -------------------

Computation Using a Stack

Write a program which will take a calculation, entered in infix format. Using a set of numbers and the operands +, -, *, / and it will determine the result. Use the algorithm demonstrated in class to implement the solution, but do it using a singly linked list to emulate two stacks ADT's and also you need to support parentheses. Do not use the STL library for the stacks, but build your own ADT's

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!