Jump to content

Arithmetic evaluation: Difference between revisions

No edit summary
Line 1,630:
END PROGRAM
</lang>
This solution is based on a stack: (as a plus there is a power (^) operator. Unary operator "-" is accepted. Program shows the stack atafter every operation and you must press a key to go on (this feature can be avoided by removing the final REPEAT..UNTIL loop at the end of "DISEGNA_STACK" procedure).
REPEAT..UNTIL loop at the end of "DISEGNA_STACK" procedure.
 
=={{header|Factor}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.