We have 100 critics who have rated the top movie of the year: Enchantio! Write a C++ program that lists the ratings. If there are three ratings in a row over 80, Enchantio wins an Oscar! (X/40) Print the following: - The 100 ratings Enchantio receives from the critics - The number of awards Enchantio won - The maximum rating Enchantio received Your output should look like this:99, 76, 54, 67, 91, 86, 92, 94, 53, 93, 91, 98, 67, 93, 90, 64, 51, 56, 62, 56, 71, 80, 88, 81, 55, 81, 70, 77, 97, 57, 54, 72, 98, 54, 50, 78, 63, 59, 97, 87, 68, 51, 95, 88, 69, 98, 91, 58, 74, 56, 97, 70, 82, 83, 74, 75, 74, 93, 56, 54, 88, 66, 73, 81, 56, 92, 80, 69, 74, 62, 52, 71, 83, 97, 71, 74, 87, 57, 53, 100, 63, 70, 98, 60, 100, 90, 76, 78, 52, 54, 74, 81, 89, 82, 70, 69, 92, 51, 65, 61
We have 100 critics who have rated the top movie of the year: Enchantio! Write a C++ program that lists the ratings. If there are three ratings in a row over 80, Enchantio wins an Oscar! (X/40) Print the following: - The 100 ratings Enchantio receives from the critics - The number of awards Enchantio won - The maximum rating Enchantio received Your output should look like this:99, 76, 54, 67, 91, 86, 92, 94, 53, 93, 91, 98, 67, 93, 90, 64, 51, 56, 62, 56, 71, 80, 88, 81, 55, 81, 70, 77, 97, 57, 54, 72, 98, 54, 50, 78, 63, 59, 97, 87, 68, 51, 95, 88, 69, 98, 91, 58, 74, 56, 97, 70, 82, 83, 74, 75, 74, 93, 56, 54, 88, 66, 73, 81, 56, 92, 80, 69, 74, 62, 52, 71, 83, 97, 71, 74, 87, 57, 53, 100, 63, 70, 98, 60, 100, 90, 76, 78, 52, 54, 74, 81, 89, 82, 70, 69, 92, 51, 65, 61
Step by step
Solved in 3 steps with 2 images