Create a Stack class (or use an existing class Template) to perform the following (No need to
Fantastic news! We've Found the answer you've been seeking!
Question:
- Create a Stack class (or use an existing class Template) to perform the following (No need to include the code for class ADT):
- Write a driver program which gives users the following options by means of a menu() function:
- To write an expression (infix/postfix) in an output file.
- To read an infix expression from a file and check its validity (balanced/unbalanced).
- To read a valid infix expression from a file and convert it into a postfix expression and write it in an output file.
- To read a postfix expression from a file and evaluate it and display its value on console.
Related Book For
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch
Posted Date: