Search:

Type: Posts; User: hing09

Search: Search took 0.18 seconds.

  1. Thread: Illegal start

    by hing09
    Replies
    7
    Views
    3,041

    Re: Illegal start

    Thanks alot, helped out heaps!
  2. Thread: Illegal start

    by hing09
    Replies
    7
    Views
    3,041

    Re: Illegal start

    I just realised you need the { brackets for the while loop otherwise it will keep looping.
  3. Thread: Illegal start

    by hing09
    Replies
    7
    Views
    3,041

    Re: Illegal start

    Thanks,

    I have removed the } in the while loop although it now compiles but does not give me the output :(
    The out put should be showing the largest number that the user has entered 5 times.
  4. Thread: Illegal start

    by hing09
    Replies
    7
    Views
    3,041

    Illegal start

    Hi all,

    Does anyone know why i keep getting illegal start of type when i type System.out.println("The Largest Number is " + maxValue(numbers));
    when i put // infront of it as a comment it...
Results 1 to 4 of 4