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

1 Expert Approved Answer
Step: 1 Unlock

Output Enter the number of minuter 1000000000 1000000000 minutes is approximate... View full answer

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 Java Programming Questions!