Use Constructors, Parameters, and arguments as needed. Have the user input number of seconds. Convert number of
Fantastic news! We've Found the answer you've been seeking!
Question:
Use Constructors, Parameters, and arguments as needed. Have the user input number of seconds. Convert number of seconds to days, hours, minutes, and remaining seconds up to 7 days. If the number of seconds is greater than 7 days do not convert and print a message “user entered seconds greater than 7 days.”
Create a main function to control the operation of the program. If the user inputs a second amount for conversion less than or equal to 0 the program should prompt the user again for input.
Implement setter and getter methods as needed.
Related Book For
Systems Analysis And Design
ISBN: 978-1119496489
7th Edition
Authors: Alan Dennis, Barbara Wixom, Roberta M. Roth
Posted Date: