Computer Science, asked by nandiniprasad017, 22 hours ago

write a program to enter the number of days, calculate and print the number of years , months and days.
Example : input: 492 days
output : year = 1 ,
month= 4 ,
day = 7
( consider year = 365 days and month = 30 days )

Answers

Answered by sandhyarar
0

Answer:

Input/Output:

Enter Days:365

Days to years 1

Days to weeks 52

Days to months 12

Similar questions