Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that prompts the user to enter the minutes (e.g., 10000), and displays the number of years and days for the minutes. Use

Write a program that prompts the user to enter the minutes (e.g., 10000), and displays the number of years and days for the minutes. Use function/method for the main process (entered value passed as parameter and result/output returned by the function). Use appropriate data types. After displaying the result the program must ask the user to either end it or repeat the process. (HINT: Year consist of 365 days, a day has 24 hours, an hour has 60 minutes and a minute has 60 seconds)

HINT C++ CODING

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions

Question

fred and Angela are business partners

Answered: 1 week ago

Question

1. How might volunteering help the employer and the employee?

Answered: 1 week ago