Write a python program to convert given days into year month week and days
Answers
Answered by
19
1. #include<stdio.h> int main() { ...
2. years=days/365; weeks=days/7; months=days/ 30;
3. printf("Days to years %d",years); printf("\nDays to weeks %d",weeks); ...
4.Enter Days:365. Days to years 1. ...
5. Program in Python. Here is the source code of the Python Program to convert Days into years, months, and Weeks.
hope its helpful
mark brainliest
Similar questions