Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions Write A Program Named Movie.Cpp That Asks The User To Enter Information About A Movie With A One- Word Title. Store The Information In
Instructions Write A Program Named Movie.Cpp That Asks The User To Enter Information About A Movie With A One- Word Title. Store The Information In Variables Of Various Data Types, As Follows: Movie Information Name Data Type String Example Zootopia Int 2016 8.1 Release Year Decimal Number Rating Letter Grade Rating Float Char B ? Once The User Has Entered
Instructions Write a program named movie.cpp that asks the user to enter information about a movie with a one- word title. Store the information in variables of various data types, as follows: Movie Information Data Type Name string Release year int Decimal number rating float Letter grade rating char Example Zootopia 2016 8.1 B Once the user has entered all the information, the program should print out the information in full sentences. Look at the given sample output for clarification on what to output. Once you have the previous functionality working, ask the user to enter information about another movie, then print out the information in full sentences, as above. Then, calculate and print out the average decimal number rating of the two movies and the number of years between both movies (negative value is ok).
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