Seconds Since Birthdate

I . write bool isLeapYear( int year) : returns true or false depending on whether or not input is a leap year.

 

II. write a function called int secondsSince( int usersBYear, int usersBmonth, int usersBDay)  .

This function should return the number of seconds since that bithdate (year, month, day)

III.  In Main: use cout and cin to ask user for their bithdate  and then display how many seconds since that person’s bithdate

 

IV.  Determine how many seconds have occurred since 0/0/0 .

 

download-bttn Starting Code