Search:

Type: Posts; User: Hazmat210

Search: Search took 0.19 seconds.

  1. Replies
    11
    Views
    2,148

    Re: Arraylist of averages of two arrays list

    Ok so I got it all to work except for the formatting i've got some reading to do on formatting but input on how to make all nice and would be nice below is code so far everthing works as it should.
    ...
  2. Replies
    11
    Views
    2,148

    Re: Arraylist of averages of two arrays list

    So this below would be enough ? I just thought that a new loop would be necessary in order to set all four values in the grade array. Does this loop set all four values for grade array or is it...
  3. Replies
    11
    Views
    2,148

    Re: Arraylist of averages of two arrays list

    I see now setting the grades in the array before knowing the averages makes no sense so array should be empty, but should it be like this:




    for(int i = 0; i < average.length; i++)
    {...
  4. Replies
    11
    Views
    2,148

    Re: Arraylist of averages of two arrays list

    So in the loop would be written something like this:




    for(int i = 0; i < average.length; i++)
    {
    average[i] = (testOne[i] + testTwo[i]) / 2;
    System.out.println(average[i]);
    }
  5. Replies
    11
    Views
    2,148

    Arraylist of averages of two arrays list

    I have written the code below the third array is suppose to store the averages of test scores from the first two arrays that were entered, fourth array stores letter grade. My question is do I need...
Results 1 to 5 of 5