Search:

Type: Posts; User: Norm

Search: Search took 0.20 seconds.

  1. Re: how to make a program that does the following arithmetic expressions ?

    The valueOf methods return objects, the parseXXX methods return primitives.
  2. Re: how to make a program that does the following arithmetic expressions ?

    When you parse: x + y
    you get the three parts of the expression.
    Sorry, I'm confused about where your problem is. If you have split the expression into its three parts, then you can evaluate it...
  3. Re: how to make a program that does the following arithmetic expressions ?

    Do a Search on the forum for code samples. Or use Google.
  4. Re: how to make a program that does the following arithmetic expressions ?

    There are several ways to do it. I have only used a couple and probably not the easiest ones to use.
    The easiest way would be if there were spaces delimiting each of the three parts, then you could...
  5. Re: how to make a program that does the following arithmetic expressions ?

    If your expressions are only 2 operands and an operator, then you should be able to parse the three parts of the expression and evaluate it. If the expression is more complicated, You need to...
Results 1 to 5 of 5