Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Summary Exercise 3 Maintain code redeability. Program the code in c + + only. And use logical code for others to understand whats going on
Summary Exercise
Maintain code redeability. Program the code in c only. And use logical code for others to understand whats going on Use switch, case, break method to do
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:
or That sounds rubbish!
stars Sounds like it was okay then!
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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started