Search:

Type: Posts; User: catisch

Search: Search took 0.07 seconds.

  1. Replies
    10
    Views
    1,377

    Re: Help with five function calculator

    I'm sorry, we haven't gotten to parsing or String.split(). That is over my head.
  2. Replies
    10
    Views
    1,377

    Re: Help with five function calculator

    Enter a binary arithmetic expression, with spaces between operands and operator.
    3 + 4
    Exception in thread "main" java.util.InputMismatchException
    at java.util.Scanner.throwFor(Unknown Source)...
  3. Replies
    10
    Views
    1,377

    Re: Help with five function calculator

    Ok, I changed it to where I thought the code would read the operator that the user is supposed to type in, but it is still crashing?





    import java.util.Scanner;

    public class...
  4. Replies
    10
    Views
    1,377

    Help with five function calculator

    I have to create a five-function calculator. The input to my program will be a binary arithmetic expression, with the operator separated from the operands by a space like 24 * 4. The output will be...
Results 1 to 4 of 4