Converts a number of seconds into days, hours, minutes, and seconds.

i am trying to Convert a number of seconds into days, hours, minutes, and seconds. using pointers but something seems wrong . can somone tell me what is the problem and how to solve it

Screen_Shot_2021-10-06_at_4_26_53_PM.png