Question: Write a program that prompts the user to enter the minutes (e.g., 1 billion), and displays the number of years and days for the minutes.
Write a program that prompts the user to enter the minutes (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
3.54 Rating (178 Votes )
There are 3 Steps involved in it
Output Enter the number of minuter 1000000000 1000000000 minutes is approximate... View full answer
Get step-by-step solutions from verified subject matter experts
