The feedback board has ratings 3, 4, and 5. Find the number of entries with sizeof rather than typing the length into the loop. Once you have their total, convert it before division so C does floating-point division rather than truncating an integer result. Print the double with %.1f for one decimal place.
ratings array using sizeof; loop over exactly those elements to add them to total; print Average: 4.0 followed by a newline. Do not print a hard-coded average.Try a different set of ratings locally and restore the starter before submitting.
The element count is sizeof ratings / sizeof ratings[0]; convert total before division.