Question: Please make a code in c using visual studio; Make a calculator that transforms infix formula to postfix fomula. As a caculator, I should print

Please make a code in c using visual studio;

Make a calculator that transforms infix formula to postfix fomula. As a caculator, I should print out the result of calculating result, postfix formula, and the process of stack(how it calculates).

Here's the details;

1. Enter the Infix formula on the monitor 2. Convert the infix formula internally into the postfix formula and print the final result. 3. Each time you process an operator or operand of the postfix formula to calculate using the stack, print out the contents of the stack and show the process. 4. Configurable with repeat processing, i.e. once the processing of one infix formula has been completed, Configure the program to receive other inputs. Key Considerations 1. The formula consists of an operand of integers, an aberrant operator, and an index and parentheses, each divided into spaces. 2. The private operator applies left approach and the index operator applies right approach.

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!