ممكن تساعدوني في حله
:Create a class for stack in java which includes methods that performs the following
.For converting infix expression into postfix expression-
.For evaluating postfix expression-
Write and execute a java program to create an object of this class, accept a infix expession from
The user and then convert the it to postfix expression which also have to be evaluated.
Example: Consider this infix expression 5+3*2
+*The equivalent postfix is 532
The value of expression is 11.