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
Explain the Order of Evaluation of Logic Operators ? When Java sees a && operator or a ||, the expression on the left side of the operator is evaluated first. For instance, con

2. Problem Description: A Java program needs to be written to display the result of following operations based input character. The table for input character with operations is : I

What is Color in AWT? Color is a class in the AWT. Individual colors such as red or mauve are examples of this class, java.awt.Color. Be sure to import it if you want to use ot


Android and Universal iOS, Multipurpose Testing App Universal iOS and Android, versatile Testing App Based on Phonegap with the subsequent main features * Support single answ

A portal is a service or a Web site that gives broad range of services and resources like e-mail, forums, search engines, weather information, news, on-line shopping, stock quotes.

I need Java Web Applications Development Project Description: MySQL databases, Oracle. SVN, GIT team collaborations. Skills required: Java, SQL, Software Architectur

Diffentiate Local and Global Variables? Local or function level variable effective just in the function in that they are declared although global variables visible everywhere o

The program: 2 classes one called Student, one called Grades Functional Requirements: Ask for how many students u need to enter the program must: prompt the user to enter the

Explain in brief Java applet? It is a java program. It has been designed for transmitting Java code over the internet. It's automatically executed by Java-enabled W