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:

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.

Create a Movie Rating Chatbot that allows users to rate the following

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

1 Expert Approved Answer
Step: 1 Unlock

Heres a C program that implements the Movie Rating Chatbot as described c Copy include iostream usin... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!