Arithmetic
Class Compute

java.lang.Object
  |
  +--Arithmetic.Compute

public class Compute
extends java.lang.Object

Compute translates an infix expression into postfix and evaluates it. Input: a fully parenthesized infix arithmetic expression, with only single-digit numbers and no blanks. E.g., ((3+4)*5) but not 33+4+5 Output: the postfix translation and the computed result of the expression


Constructor Summary
Compute()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compute

public Compute()
Method Detail

main

public static void main(java.lang.String[] args)