C++ Program to Convert Days Into Years, Weeks and Days
Below I have shared the C++ program to convert given number of days into years, weeks and days. For example if user has entered 365 days (not a leap year) then the output will be: Years: 1 Weeks: 0 Days: 0 #include<iostream> using namespace std; int main() { int y,d,w; cout<<“Enter No. …
C++ Program to Convert Days Into Years, Weeks and Days Read More »