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.
...
Type: Posts; User: Hazmat210
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.
...
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...
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++)
{...
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]);
}
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...