Hi! I am learning programming in C and I am trying to make a programme to convert the seconds in days, hours, minutes, and remaing seconds.
I have been discussed this problem earlier and got good response but I'm still unable to find the desired result.
I am using code like this
printf("Enter the number of seconds and press return:");
// calculating the number of days
printf("total days are %d",d);
Now I want to calculate the remaining seconds in hours, minutes, and seconds.
Can any one help me.