#include<iostream.h>
main()
{
int year,date;
cout<<"enter year\n";
cin>>year;
cout<<"enter date\n";
cin>>date;
if(year%4==0)
date=date+2;
else
date=date+3;
cout<<" the added date was"<<date\n;
}
output:
enter year:2011
enter date:18
the added date was:21.
Note: This program exectues only in cpp....
Adding 100 days to February 6 in a non leap year gives May 17. Adding 100 days to February 6 in a leap year gives May 16.
Consider how adding more information can provide a clearer explanation.
Adding 186 days to February 24 in a non-leap year gives August 29. Adding 186 days to February 24 in a leap year gives August 28.
The GOES Sentri program allows for expedited border crossing by pre-approved travelers. When adding a car, you need to register the vehicle in the program and provide necessary documentation for approval.
Adding 120 days to February 10 in a non-leap year gives June 10 of the same year. Adding 120 days to February 10 in a leap year gives June 9 of the same year.
Adding 60 days to February 23, 2010 gives April 24, 2010.
Adding 90 days to February 1, 2011 gives May 2, 2011.
You may wish to consider adding them together.
Adding 60 days to February 3, 2011 gives April 4, 2011.
Adding 100 days to February 14, 2009 gives May 25, 2009.
Adding 40 weeks to February 1, 2009 gives November 8, 2009.
Adding 180 days to February 28, 2011 gives August 27, 2011.