James En wrote:sorry.
The standard loop format is
for( int i=0 ; i < quantity ; i++ )
You are using '<=' which will either cause you to get an array out of bounds exception of having to play games by increasing the array size by one. For your nCritics loop you CAN'T use '<=' otherwise you'd be computing the average incorrectly.
Your if statement on line 9 only depends on variables set in line 7, therefore you can move the if() statement after line 7.
Also with your loops, if the array is entirely filled you can loop through it like this
for( int i=0 ; i < characters.length ; i++ )
This has the advantage that if the length of the characters array ever changes then this expression will still hold true. Additionally, 2D arrays in Java are really arrays of arrays and so each row could potentially be of different lengths. Using this style of for() loop would work whereas your would not.
for( int j=0 ; j < ratings[i].length ; j++ )