Code a C++ program to create AND evaluate RPN (postfix) expressions. Your program must display a menu with 3
options: 1) convert infix to postfix; 2) evaluate postfix; 3) quit the program.
Use the Stack class header file and implementation file enclosed.
All input is from the keyboard. Test the conversion function with the following expressions:
Make sure the user can end the input with the #.
3 * 4 + 5 - 2#
( 3 + 4 ) / ( 2 + 1 )#
( 3 + 4 ) / 2 + 1#
( 8 - 3 ) * ( 5 - ( 2 + 1 ) )#
Test your evaluation function with the following RPN expressions:
7 4 + 3 / 2 *#
7 4 3 + + 2 +#
7 4 3 2 + / *#
Be sure to label your output so it is readable!
3+
## Deliverables
User the header file and class file enclosed.
Create client code to for the projects that used header file and implemetation file enclosed.
Use only Microsoft Visual C++ for this project. I only have a PC.
## Platform
Use only Microsoft Visual C++ for this project. I only have PC.