Question
Write a c++ program that will print the calender (upto last five years) program will ask the user to enter the current date,month,and day of the week then it will ask him to select the calender of which year hewant (upto only five yrs back upto 2006 from now) bythe selection of the user choice of year program should print thecalender for that year . you can use loops switch statement and basic programing. program will ask the user to enter the current date,month,and day of the week then it will ask him to select the calender of which year hewant (upto only five yrs back upto 2006 from now) bythe selection of the user choice of year program should print thecalender for that year . you can use loops switch statement and basic programing.
Explanation / Answer
please rate - thanks #include #include using namespace std; int leap(int); int todoy(int,int,int); int main() { int days,start,i,year,m,mm,dd,yy,dow,doy,doy2,year2; cout