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 is the difference between an if statement and a switch statement? The if statement is used to select between two alternatives. It uses a boolean expression to decide whi

Java Program to Scrape, Data Mine Project Description: I need to data scrape/ mine data from a website and do some data processing. Skills required: Java, Data Mining,

Explain what is Local Variable ? Declaring variables (using the var keyword) inside a function forms them local. They are available only inside the function and hold no meaning

Why should we, as computing professionals, be interested within studying the social implications of our creations? This is important Because of remaining the track of money wis

RMI Object services: In addition to its remote object architecture, RMI gives some basic object services, which may be needed in a distributed application. 1.  Object namin

What is the difference between preemptive scheduling and time slicing? Under preemptive scheduling, the highest priority task executes unless it enters the waiting or dead stat


Cadence Design Systems:   Role Working on tickets including debugging of unix based applications Installations of unix based tools/utlity Installation

Draw an inheritance hierarchy to represent a shoe object. The base class should have derived classes of Dress Shoes, Tennis Shoes and Boots.