User Profile

Collapse

Profile Sidebar

Collapse
jtanz0
jtanz0
Last Activity: Feb 5 '08, 08:53 PM
Joined: Jan 31 '08
Location: Bath Uni/ Poole Home
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jtanz0
    replied to Concatenating a list into a string
    in Java
    thanks people all done
    See more | Go to post

    Leave a comment:


  • jtanz0
    started a topic Concatenating a list into a string
    in Java

    Concatenating a list into a string

    Hi,

    I am trying to convert infix notation to postfix notation, so far i have been quite successfull but in order to move on to the next part of the program (RPN calculator) i need to take all the elements in the Array list i have of all the operators and operands (in the right order) and concatinate them to form a string and i am finding it fairly difficult if anyone can shed any light on how this can be done i would be very greatfull...
    See more | Go to post

  • jtanz0
    replied to java calculator using nested expressions
    in Java
    thanks!

    I've been researching think im going to go for the approch of changing the input from infix to post fix as i have already done a RPN calculator in python and i understand how this works
    See more | Go to post

    Leave a comment:


  • jtanz0
    started a topic java calculator using nested expressions
    in Java

    java calculator using nested expressions

    Im fairly new to java programming although i have some experience in python.

    I have to create a calculator program (command line) which takes as input a mathematical expression consisting of decimal numbers and the four basic mathematical operators (+,-,/,*) and correctly handles nested mathematical expressions.

    Some examples:
    • 5 + 6 * 2 results in 17
    • (5 + 4) * (4 - 2) results in 18

    ...
    See more | Go to post
No activity results to display
Show More
Working...