Create a graphical reverse polish notation calculator, JAVA Programming

In this assignment you will create a graphical reverse polish notation calculator using a stack data structure.  A reverse polish notation calculator allows you to perform chain calculations by using, a postfix operator.  The assumption is that the operator serves as the delimiter and specifies the order of operations regardless of precedence.  For example, 5 5+4*10/ would 5 and 5 together, multiply the result by 4 and divide that by 10 which should return 4 as a result.  Please note that you must find some way of delimiting the first operand.  You note I used a blank space; however, this is not the only possibility.  Please use the following operators in your program:

+ Addition

-  Subtraction

*multiplication

/ Division

^ Exponentiation

% modulus division

# Square root

& percentage

You must also make also sure that each operator is preceded by two operands and the operators are correct.  The only exception to this is the square root operator.  If this is not the case, please pop up an error message. To complete this assignment successfully, please, it must all graphical.   I will accept codes only on Java 6 or Java 7 and use Stack.

Posted Date: 3/2/2013 2:09:28 AM | Location : United States







Related Discussions:- Create a graphical reverse polish notation calculator, Assignment Help, Ask Question on Create a graphical reverse polish notation calculator, Get Answer, Expert's Help, Create a graphical reverse polish notation calculator Discussions

Write discussion on Create a graphical reverse polish notation calculator
Your posts are moderated
Related Questions
What does the keyword " synchronize " mean in java. What are the usage and disadvantages of synchronization?

A joinpoint is a point in the implementation of the application where an aspect can be plugged in. This point could be a method being called, an exception being thrown, or even a f

Explain Subclasses and Polymorphism ? Car and Motorcycle are subclasses of MotorVehicle. If you instantiate a Car or a Motorcycle along with new, you can use in which object a

While you declare a variable in a function, the variable can be accessed within that function only.  While you exit the function, the variable is destroyed.  These variables are ca

I need a DCS (Source code and JAR) to process packets from a cheap chinese GPS TK110, the unit is already communicating with the server but is not parsing. So I need someone with e

This assignment is a good project for working with 2 dimensional arrays. In this program, you will implement an ascii version of the classic game "Connect 4". Connect 4 is a 2 p

I just finished a small tutorial on JSP and servlet now I was looking for some assignments so that I can try my hands on

YES. JSP technology is extensible by the development of custom actions, or tags, which are encapsulated in tag libraries. #question..

what is meant by thread

Project Description: We are seeking software engineers to create a plug-in for Adobe after Effects (CS4 and above) that allows 3D extrusions for a layer. We are seeking somethin