POSTFIX CALC TEST SCREENDUMPS (from MS-DOS):

C:\java\progs>javac PostfixCalc.java

C:\java\progs>java PostfixCalc

This postfix calculator accepts the +,-,*,/, %, and = operators.
You must include spaces between all operands and operators.
Example: "23 5 + 7 /" returns "4".
Assignment (=) is not communicative: "x 3 =" is valid while "3 x =" is not.
The letters a through z can be used for variable assignment.
Press q to quit.
Enter an operation: 1
1
Enter an operation: 23 23 +
46
Enter an operation: 23 23 -
0
Enter an operation: 23 23 /
1
Enter an operation: 23 23 *
529
Enter an operation: 23 23 %
0
Enter an operation: 23 x =
You have entered something that does not parse.
The most common cause of this error is that you forgot to put spaces b/w all ope
rators and operands.
Other possiblities are that you have entered assignment (=) operands in the wron
g order, or entered something that is not a number.

This postfix calculator accepts the +,-,*,/, %, and = operators.
You must include spaces between all operands and operators.
Example: "23 5 + 7 /" returns "4".
Assignment (=) is not communicative: "x 3 =" is valid while "3 x =" is not.
The letters a through z can be used for variable assignment.
Press q to quit.
Enter an operation: x 23 =
23
Enter an operation: x
23
Enter an operation: y x =
23
Enter an operation: y
23
Enter an operation: 23 5 + 7 /
4
Enter an operation: 19 6 9 + - 3 * 12 %
0
Enter an operation: 19 6 9 + - 3 * 11 %
1
Enter an operation: 12x
You have entered something that does not parse.
The most common cause of this error is that you forgot to put spaces b/w all ope
rators and operands.
Other possiblities are that you have entered assignment (=) operands in the wron
g order, or entered something that is not a number.

This postfix calculator accepts the +,-,*,/, %, and = operators.
You must include spaces between all operands and operators.
Example: "23 5 + 7 /" returns "4".
Assignment (=) is not communicative: "x 3 =" is valid while "3 x =" is not.
The letters a through z can be used for variable assignment.
Press q to quit.
Enter an operation: 12x
You have entered something that does not parse.
The most common cause of this error is that you forgot to put spaces b/w all ope
rators and operands.
Other possiblities are that you have entered assignment (=) operands in the wron
g order, or entered something that is not a number.

This postfix calculator accepts the +,-,*,/, %, and = operators.
You must include spaces between all operands and operators.
Example: "23 5 + 7 /" returns "4".
Assignment (=) is not communicative: "x 3 =" is valid while "3 x =" is not.
The letters a through z can be used for variable assignment.
Press q to quit.
Enter an operation: -12 -13 -
1
Enter an operation: 12 0 /
You have tried to divide by zero!

This postfix calculator accepts the +,-,*,/, %, and = operators.
You must include spaces between all operands and operators.
Example: "23 5 + 7 /" returns "4".
Assignment (=) is not communicative: "x 3 =" is valid while "3 x =" is not.
The letters a through z can be used for variable assignment.
Press q to quit.
Enter an operation: 12 1 + -
There was an error during computation:  there were too many operators for the nu
mber of operands.

This postfix calculator accepts the +,-,*,/, %, and = operators.
You must include spaces between all operands and operators.
Example: "23 5 + 7 /" returns "4".
Assignment (=) is not communicative: "x 3 =" is valid while "3 x =" is not.
The letters a through z can be used for variable assignment.
Press q to quit.
Enter an operation: 12 + -
There was an error during computation:  there were too many operators for the nu
mber of operands.

This postfix calculator accepts the +,-,*,/, %, and = operators.
You must include spaces between all operands and operators.
Example: "23 5 + 7 /" returns "4".
Assignment (=) is not communicative: "x 3 =" is valid while "3 x =" is not.
The letters a through z can be used for variable assignment.
Press q to quit.
Enter an operation: 12 13 14 +
There was an error during computation: there were too few operators for the numb
er of operands.

This postfix calculator accepts the +,-,*,/, %, and = operators.
You must include spaces between all operands and operators.
Example: "23 5 + 7 /" returns "4".
Assignment (=) is not communicative: "x 3 =" is valid while "3 x =" is not.
The letters a through z can be used for variable assignment.
Press q to quit.
Enter an operation: c 192 63 / 4 + =
7
Enter an operation: c
7
Enter an operation: c 20 * 4 +
144
Enter an operation:

C:\java\progs>
