Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Due: TBD Program 2 CMPS 1044 Spring 2021 Instructor: Benjamin Shelton Create a program that will determine how many days, hours and minutes it will

image text in transcribed
image text in transcribed
Due: TBD Program 2 CMPS 1044 Spring 2021 Instructor: Benjamin Shelton Create a program that will determine how many days, hours and minutes it will take to consume the amount of media the user inputs (trying to word this correctly was painful). We are only going to deal with media that can be watched. For this program they are: Movies, TV Shows, Anime, and YouTube videos The time of each media are as follows: Movie = 1.5 hours, TV Show = 50 minutes, Anime = 20 minutes, and YouTube videos = 5 minutes Prompt the user to input how many movies, TV shows, anime, and YouTube videos they plan on watching. Take the total number input and determine how many days, hours and minutes it will take to watch all of them. Sample user prompt: How many movies do you want to watch? How many TV shows do you want to watch? How many anime episodes do you want to watch? How many YouTube videos do you want to watch? You can be boring and do: Movies: TV Shows: Anime: YouTube Videos: Output should be printed to the screen and look something like this: The total time to watch all media is 1 day(s) 16 hour(s) and 15 minutes The total time to watch all media is 0 day(s) 0 hour(s) and 20 minutes The total time to watch all media is 0 day(s) 1 hour(s) and 0 minutes Output should be printed to the screen and look something like this: The total time to watch all media is 1 day(s) 16 hour(s) and 15 minutes The total time to watch all media is 0 day(s) 0 hour(s) and 20 minutes The total time to watch all media is 0 day(s) 1 hour(s) and 0 minutes *BONUS +5 POINTS* Ask the user if they plan on watching these in a day (D), week (W), month (M), or year (Y). Then display a message saying whether they can watch all of it within that time frame or not (please make this message funny somehow). SAMPLE RUNS MOVIES: 5 TV SHOWS: 10 ANIME: 22 YOUTUBE VIDEOS: 30 The total time to watch all media is 1 day(s) 1 hour(s) and 20 minutes MOVIES: 0 TV SHOWS: 50 ANIME: 9 YOUTUBE VIDEOS: 0 The total time to watch all media is 1 day(s) 20 hour(s) and 20 minute(s) Requirements for submission Output should be to the console. Assume the user input will be correct with no errors. Header and at least 3 comments. MAKE SURE YOU SUBMIT THE .CPP FILE AND NOT THE .SLN WHEN SUBMITTING TO DROPBOX

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mastering Oracle SQL

Authors: Sanjay Mishra, Alan Beaulieu

2nd Edition

0596006322, 978-0596006327

More Books

Students also viewed these Databases questions

Question

1. Why do consumers pursue relationships with brands?

Answered: 1 week ago

Question

Should certain customers be asked to take their business elsewhere?

Answered: 1 week ago