Question: C++ B) Write a program for Programming Exercise 2.7 (convert minutes to wears and days) on p. 66 in the textbook. Testing: Run the program

B) Write a program for Programming Exercise 2.7 (convert minutes to wears and days) on p. 66 in the textbook. Testing: Run the program for the three cases shown below (the first case is the example provided with the problem in the text). Display the result in the format indicated in the textbook problem. Case Number of Minutes 1000000000 Any 4 digit number Any 6 digit number 2 * 2.7 (Find the number of years) Write a program that prompts the user to enter the min- utes (e.g., 1 billion), and displays the number of years and days for the minutes. For simplicity, assume a year has 365 days. Here is a sample run: Enter the number of minutes: 1000000000 - 1000000000 minutes is approximately 1902 years and 214 days
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
