+ 2
input total days and convert it into year, month, week and days and display the output in the following format
TOTAL DAYS VALUE:567 MY OUTPUT 567 DAYS= 1 YEAR__MONTHS__WEEKS__DAYS
3 Answers
+ 2
just some basic knowledge of days in an year , in a month and in a week will work for you.
+ 1
Sounds like homework.
I'll get right onto it and post the answer for you shortly
+ 1
https://code.sololearn.com/choSkpZhl235/?ref=app
Assuming every month has 30 days