Quantcast
Channel: Efstathios Chatzikyriakidis » stack
Viewing all articles
Browse latest Browse all 6

Implementation of algorithm for calculating a postfix expression.

$
0
0
The following program reads any postfix expression that includes integer multiplication and addition, evaluates the expression and displays the final result on the screen. The program stores the intermediate results in a stack of integers. The terms (operands) are pushed onto the stack. The operators are applied to the two entries at the top of […]

Viewing all articles
Browse latest Browse all 6

Trending Articles