Question: Need help with java H/W. I need a program that calculates hours, minutes, seconds up to one day . Only need to calculate seconds up

Need help with java H/W. I need a program that calculates hours, minutes, seconds up to one day. Only need to calculate seconds up to one day or less. And no need to input strings like the teacher said.
Thanks
Task 3: We now want the program to calculate hours, minutes, seconds up to one day You will (if) conditional statements and code blocks to create the program. (Utilize if/else or nested as necessary) Output Show number of seconds input and a conversion to Hours, minutes and remaining seconds. Have a print line for any input in seconds than 1 day Have an additional output if the user enters seconds as or less than 0 Attach Snipping photo of Source Code and Output Jackson 8:54 AM Today No need to input strings. No need to calculate days. Break code blocks into smaller segments. Only calculate hours or minutes if there are enough seconds to equal 1 hour or equal 1 minute
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
