subject

C++ Question here, I'm wanting to know if anyone has a solution for converting a given set of hours (let's say a random amount like 144000 hours, into days and years. By this I mean FORMATTED into days and years, using math.
I have a way where I take the amount of hours into days by dividing by 24, then dividing the amount of days by 365 (ignore leap years). This leaves me with a given year, but no given amount in like: 5 years, 252 days, 23 hours.

Anyone have a solution?

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 18:00, taiyana74
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
image
Computers and Technology, 24.06.2019 02:00, destinyd10189
Read the following scenario, and then answer the question below. you want to send an e-mail to your boss requesting a meeting to discuss a raise. what is the best example of an e-mail to an employer about this meeting? “hey jason. can we chat about getting me more money soon? let me know. peace, meg.” “hello jason. pardon me for sending yet another e-mail today about my need to talk to you about my position and a possible pay increase. i am dying to know when you can talk. sincerely, meg.” “hello jason. i have been with the company for one year and have taken on more responsibilities than outlined in my job description. i would appreciate an opportunity to speak with you about my position. let me know when we can schedule a meeting. you, meg.” “greetings jason! i hope this e-mail finds you well and happy today. i really, really want to talk to you about something important. i am not sure if you have time. i hope you do. get back in touch with me and let me know when we might talk. ever so much for taking the time to read this. sincerely, meg.”
Answers: 3
image
Computers and Technology, 24.06.2019 16:00, deepunalli300p3ur3i
Your is an example of personal information that you should keep private.
Answers: 2
image
Computers and Technology, 24.06.2019 16:50, Ameilasmickle15
How many types of string types does python support?
Answers: 1
You know the right answer?
C++ Question here, I'm wanting to know if anyone has a solution for converting a given set of hours...

Questions in other subjects:

Konu
History, 17.02.2021 19:30
Konu
Mathematics, 17.02.2021 19:30
Konu
Chemistry, 17.02.2021 19:30
Konu
Computers and Technology, 17.02.2021 19:30
Konu
Chemistry, 17.02.2021 19:30