2_5323305779468442749 〈PROVEN〉
: A method in the Review class that returns a string comment. 🛠️ Implementation Review Part A: getAverageRating()
: Results are stored and returned in an ArrayList . 💡 Technical Tips 2_5323305779468442749
This method requires you to calculate the arithmetic mean of all ratings in the allReviews array. : Use a for or for-each loop to traverse the array. Accumulation : Sum the values returned by getRating() . : A method in the Review class that returns a string comment
: Unlike Part A, you must use a standard for loop (with int i ) because the index number is required for the formatted string. 2_5323305779468442749