Question: INSTRUCTIONS Use c + + visual studios Write a program that asks the user to enter a number of minutes. There are 6 0 minutes

INSTRUCTIONS Use c++ visual studios
Write a program that asks the user to enter a number of minutes.
There are 60 minutes in one hour. If the number of minutes entered by the user is greater than or equal to 60, the program should display the number of hours and how many minutes it can be broken down into. For example, if the user enters 256 minutes, the output might look like:
The equivalent of 256 minutes is 4 hours and 16 minutes.
There are 1,440 minutes in one day. If the number of minutes entered by the user is greater than or equal to 1,440, the program should display the number of days in that many minutes, the number of hours (should be less than 24) and the number of minutes (should be les than 60). Use the modulus operator along with integer mathematics to make this easier on yourself. As an example, if the user entered 1520 minutes, the output might read:
The equivalent of 1520 minutes is: 1 day, 1 hour and 20 minutes.
There are 10,080 minutes in one week. If the number of minutes entered by the user is greater than or equal to 10,080, the program should display the number of weeks, days, hours and minutes that it can be broken down into. As an example, if the user entered 26435 minutes the output from the program might read:
The equivalent of 26435 minutes is 2 weeks, 4 days, 8 hours and 35 minutes.
Your program MUST use conditional operators to determine whether the output message NEEDS to include only hours and minutes, days, minute and hours, or weeks, days and hours. This is based entirely on whether or not the users input goes over those "breakpoint" values 960,1440 and 10080.
 INSTRUCTIONS Use c++ visual studios Write a program that asks the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!