Results 1 to 1 of 1
  1. #1
    fuzzdn is offline Member
    Join Date
    Dec 2010
    Posts
    10
    Rep Power
    0

    Default Java reverse polish stack problem

    I have made a program that takes a mathematical expression and converts it to reverse polish notation format.

    I then want to evaluate this expression to give the answer to the expression. This was fairly easy to implement on a basic level. Although I have now noticed that my program cannot deal with numbers over 9, negative numbers and decimal numbers. All of which I want to include.

    Is there a way of making it work with the added features i want?

    Thanks for any help :)
    Last edited by fuzzdn; 12-19-2010 at 10:17 PM.

Similar Threads

  1. polish signs in log-file
    By rafzio4 in forum Java Servlet
    Replies: 3
    Last Post: 10-20-2010, 02:04 PM
  2. Replies: 6
    Last Post: 08-20-2010, 02:13 PM
  3. Stack problem
    By Clown in forum New To Java
    Replies: 9
    Last Post: 03-20-2010, 12:03 PM
  4. Reverse Polish notation with stacks confusion
    By jigglywiggly in forum New To Java
    Replies: 3
    Last Post: 10-05-2009, 07:40 PM
  5. Stack problem..pls help
    By Mika in forum New To Java
    Replies: 1
    Last Post: 02-16-2009, 08:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •