Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    10
    Views
    1,112

    Re: User inputs string to get calculated output

    You must use the correct syntax when writing code. The compiler says that there are problems with the syntax in the posted code.

    Look at the API doc for the String class to see what its methods...
  2. Replies
    10
    Views
    1,112

    Re: User inputs string to get calculated output

    Please post the code that goes with the error messages.

    The String class does NOT have a method named: total or person. The compiler is objecting to the code trying to call those non-existent...
  3. Replies
    10
    Views
    1,112

    Re: User inputs string to get calculated output

    Please copy and paste here the full text of the error messages.

    The code looks like it is missing some }s at the end.
  4. Replies
    10
    Views
    1,112

    Re: User inputs string to get calculated output

    Now the code needs to be properly formatted. Statements should be indented 3-4 spaces to show nesting levels within {}s
    All statements should NOT start in the first column.
    The }s should NOT be in...
  5. Replies
    10
    Views
    1,112

    Re: User inputs string to get calculated output

    Threads merged. One is enough.

    Please edit your post and wrap your code with code tags:


    <YOUR CODE HERE>

    to get highlighting and preserve formatting.
Results 1 to 5 of 5