Computer Science, asked by anushka243, 8 months ago

Write a program to input days and display how many years, month ,days.​

Answers

Answered by sunilmarbalsunil
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