Display the date of the previous sunday


Problem:
Given a year and day number (see lab #3) display the day of the week, month, and day number within that
month on which the day would/did occur. In addition, display the date of the previous Sunday and the next Saturday from
that date.
Example Execution #1:
Enter the year number: 2014
Enter the day number (1 - 365): 48
Input date: Monday February 17, 2014
Previous Sunday: February 16, 2014
Next Saturday: February 22, 2014

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Display the date of the previous sunday
Reference No:- TGS083804

Expected delivery within 24 Hours