Search:

Type: Posts; User: senecawolf

Search: Search took 0.16 seconds.

  1. Replies
    3
    Views
    367

    Re: Please help with array code

    I want to know what I did wrong in my code, instead of printing out the desired output it prints something like: [DEBUG] The random number stored in location 98 is [I@239bf795
  2. Replies
    3
    Views
    367

    Please help with array code

    These are the requirements for my assignment along with the outline of the main method and examples of the desired output. Below that is my actual code which I have written but the output doesn't...
  3. Re: sum of arrays and printing even and odd numbers in the array

    Sorry about that! I need help completing it, I'm not quite sure how to add the sum of the array, or print out the even and odd numbers. My code needs to be similar to the DEBUG example given
  4. sum of arrays and printing even and odd numbers in the array

    Call a method that computes the sum of the elements of the array. The header for this method is

    public static int sumData(int num, int[] iArr, boolean DEBUG)

    After the returning from the...
Results 1 to 4 of 4