Write a C++ program that allows a user to enter their rating of the three movies in the Dark Knight Trilogy:   Batman Begins   The Dark Knight   The Dark Knight Rises   Ratings must be between 1 and 5. If a rating entered is less than 1 or more than 5, display an appropriate error message, and ask for a new rating. After all the ratings have been entered, display each rating entered, the highest rating, the lowest rating, and the average of the ratings.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter4: Making Decisions
Section: Chapter Questions
Problem 5E: a. Write a program named CheckMonth that prompts a user to enter a birth month. If the value entered...
icon
Related questions
Question
Write a C++ program that allows a user to enter their rating of the three movies in the Dark Knight Trilogy:
 
Batman Begins
 
The Dark Knight
 
The Dark Knight Rises
 
Ratings must be between 1 and 5. If a rating entered is less than 1 or more than 5, display an appropriate error message, and ask for a new rating. After all the ratings have been entered, display each rating entered, the highest rating, the lowest rating, and the average of the ratings.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT