-
Postfix Expression Calculatro
The application reads a string which represent as the infix expession and evaluates it and ouput the result.
Optional featues:
-Make the GUI
-Use awt/swing
Hint:
-Convert the infix to postfix expression using a Stack
-Evaluates the postfix expression using a Stack
Java Code Only
Thanks in advance and more power on this site.
-
how much extra credit will your teacher give you for using Swing?
-
Any, the important things is to display the output,
for example,
input: 1+2*3-4
output: 3
precedence: */% +-
must better if you include also the postfix in the result.
thanks...!!!
-
*sigh* Sarcasm is lost on kids these days.
-
-
Hepl me
The application reads a string which represent as the infix expession and evaluates it and ouput the result.
for example,
input: 1+2*3-4
Output
Result for postfix: "display the postfix value"
Result:"3"
-
Show what you have got so far and you'll get help.
-
 Originally Posted by uclmbenz_castro
The application reads a string which represent as the infix expession and evaluates it and ouput the result.
for example,
input: 1+2*3-4
Output
Result for postfix: "display the postfix value"
Result:"3"
I've read this several times, but I can't find a question.
What are you after here?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
Similar Threads
-
Replies: 0
Last Post: 07-20-2009, 12:20 AM
-
By elmasduro in forum Database
Replies: 0
Last Post: 03-29-2007, 02:49 PM
-
By sunilbenjamin in forum ASP.NET
Replies: 2
Last Post: 09-29-2005, 02:09 AM
-
Replies: 0
Last Post: 03-05-2005, 11:40 PM
-
Replies: 5
Last Post: 05-16-2002, 07:41 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks