Search:

Type: Posts; User: Chris07

Search: Search took 0.18 seconds.

  1. Replies
    10
    Views
    368

    Re: I need help with this pseudocode!

    Okay, I got rid of the errors. Now, how do I sort the numbers from least to greatest? Here is my new code:


    import java.util.Scanner;
    import java.util.Random;

    public class SortedArray
    {
    ...
  2. Replies
    10
    Views
    368

    Re: I need help with this pseudocode!

    The variable array is not initialized. So, I tried to add the following line of code:

    public Sort(int[] oldArray, int sizeOfOldArray)
    {
    sizeOfArray = sizeOfOldArray;
    array = new...
  3. Replies
    10
    Views
    368

    Re: I need help with this pseudocode!

    Jps, I've edited the post again and included further information on the error message.
  4. Replies
    10
    Views
    368

    Re: I need help with this pseudocode!

    ---- Edited my original post ----

    I would appreciate a quick response. Thanks in advance.
  5. Replies
    10
    Views
    368

    I need help with this pseudocode!

    --------- Please delete this thread, thank you for all your help! ---------
Results 1 to 5 of 5