Login

Calculator (Java)

School project
Finished
03 December 2007

Oblig 6:

You will make a program with a graphical user interface that will deal with arithmetical expressions.
Both numerical (just numbers) and algebraically (variables).

The Expressions will have to be written in both infix and postfix form. The expressions will have to be stored in an expression tree, to store the expressions you will have to use a double linked list.

Legal operations are + - * / ^
Legal parenthesis are: ( ) [ ] {}
Variable names can be of both letters and numbers
They will have to start with a letter
Infix expressions will have to handle implicit multiplication
Ex. 2vx2(b^2 + c)(a + b) is the same as 2*vx2*(b^2 + c)*(a + b)

Grade: B

You have to be logged in to download the project files!
If you are interested in the project files then contact me