Write a program to input days and display how many years, month ,days.
Answers
Answered by
1
Answer:
1. Take the number of days as input and store it in variable ndays. 2. For the number of years, divide the input by 365(no of days in a year) and obtain its quotient.
Explanation:
l hope it helps you
please mark me as brainlist
Similar questions