Search:

Type: Posts; User: hing09

Search: Search took 0.13 seconds.

  1. Thread: Illegal start

    by hing09
    Replies
    7
    Views
    3,062

    Re: Illegal start

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

    by hing09
    Replies
    7
    Views
    3,062

    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,062

    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,062

    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...
  5. Thread: Stuck :(

    by hing09
    Replies
    4
    Views
    1,433

    Re: Stuck :(

    Thanks helloworld922 my program now works with your solution!
  6. Thread: Stuck :(

    by hing09
    Replies
    4
    Views
    1,433

    Re: Stuck :(

    Mate this is my own homework, i just don't know why its not outputting the highest number entered?

    Geez take it easy..
  7. Thread: Stuck :(

    by hing09
    Replies
    4
    Views
    1,433

    Stuck :(

    I'm trying to create a program that asks a user to enter 5 numbers and prints the highest number entered.

    So far i have:


    import java.util.Scanner;
    import java.io.*;
    import...
Results 1 to 7 of 7