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

Please use Daniweb's text for this. I usually copy and paste the code into a compiler to see what's going on but here you want me to type that in.

Also, you didn't tell what was wrong so again I have to work harder. Do this post again but with workable text.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.