Question: Write a program that prompts the user to enter a date (ex. 3/20/2015) and outputs the day of the week corresponding to that date. You
Write a program that prompts the user to enter a date (ex. 3/20/2015) and outputs the day of the week corresponding to that date. You should use the following functions in your implementation: bool isLeapYear(int year); This function should return true if year is a leap year and false if it is not. Here is pseudocode to determine a leap year: leap_year = ((year divisible by 400) or (year divisible by 4 and year not divisible by 100))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
