Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Summary Exercise 3 Create the code in c + + . Use switch, case, break method to solve. Maintain cide readability Create a Movie Rating

Summary Exercise 3
Create the code in c++. Use switch, case, break method to solve. Maintain cide readability
Create a Movie Rating Chatbot that allows users to rate the following films:
Top Gun: Maverick
Star Wars: The Last Jedi
Minions: The Rise of Gru
Your chatbot should:
Display the name of the film and ask the user to enter the number of stars they would rate it.
Depending on the rating, one of the following messages will be displayed:
1 or 2- That sounds rubbish!
3 stars - Sounds like it was okay then!
4 stars - Sounds great!
If the user enters any invalid text, then you should display an error message.
You should use functions to reduce the amount of repeated code within your program.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions