Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started