0
/ 10
Code along with Juan's example and implement the Video
class that does the following:
- Stores the following data using information...
Code along with Juan's example and implement the Video
class that does the following:
title
- the title of a videodesc
- words that describe the contents of a videolength
- a decimal number of minutes of the video's lengthrating
- a whole number rating of the video from 1-5, inclusivelyinitVar
that prompts the user and gets their response for the following:
"Enter title:\n"
- and captures a line of the user's input as the title
"Enter desc:\n"
- and captures a line of the user's input as the desc
"Enter length:\n"
- and captures a number of the user's input as the length
"Enter rating:\n"
- and captures a number of the user's input as the rating
printInfo
that displays the following, each followed by an endline:
"Title of vid: "
followed by the value of title
"Description: "
followed by the value of desc
"Length is: "
followed by the value of length
"Rating is: "
followed by the value of rating
Complete only the code within Video
class
Your feedback will appear here when you check your answer.