Question
Write the program in c + + ?using include iostream and namespace and do not use global varients. Explain your code and use comments and
Write the program in c ?using include iostream and namespace and do not use global varients. Explain your code and use comments and write the code in simple terms to understand and easy to read.
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.
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 numb of stars they would rate it. Depending on the rating, one of the following messages will be displayed: 1 or 2 That sounds rubbish! O O O 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Heres a C program that implements the Movie Rating Chatbot as described c Copy include iostream usin...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