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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

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

* Course Email
A Microsoft Word - C X
Welcome to the Os X
Welcome to the Os X
Search results for 'V ×
3 Settings
https://urcourses.uregina.ca/pluginfile.php/3044519/mod_resource/content/1/CS110_Assignment_5.pdf
Set Microsoft Edge as the default application for reading PDF files?
Set as default
PDF
of 2
=:
No, not that Oscar! The awards show!
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, 97, 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, 180, 63, 70, 98, 60, 100, 98, 76, 78, 52, 54, 74, 81, 89, 82, 70, 69, 92, 51, 65, 61,
Ratings:
The number of 0scars won by Enchantio is: 4
The maximum rating Enchantio won is: 100
>
!!
Transcribed Image Text:* Course Email A Microsoft Word - C X Welcome to the Os X Welcome to the Os X Search results for 'V × 3 Settings https://urcourses.uregina.ca/pluginfile.php/3044519/mod_resource/content/1/CS110_Assignment_5.pdf Set Microsoft Edge as the default application for reading PDF files? Set as default PDF of 2 =: No, not that Oscar! The awards show! 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, 97, 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, 180, 63, 70, 98, 60, 100, 98, 76, 78, 52, 54, 74, 81, 89, 82, 70, 69, 92, 51, 65, 61, Ratings: The number of 0scars won by Enchantio is: 4 The maximum rating Enchantio won is: 100 > !!
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Algebraic Expressions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education