Search:

Type: Posts; User: Zaphod_b

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    1,330

    Re: array bubble sort

    Output:


    0.19, 3.69, 4.5, 5.16, 6.52, 12.35, 15.3, 23.1, 32.0, 41.0, 45.0, 62.2, 75.6, 80.0,

    Aren't you missing something in your printout? (What happened to 81.5?)


    Cheers!
  2. Replies
    4
    Views
    1,330

    Re: array bubble sort

    Your code won't compile.

    If you use the name of an array in a print or println statement, it prints something about the array and a hashcode that is important to Java and to certain debuggers,...
Results 1 to 2 of 2