Question: PROG 1203 - Spring 2019 In-Class Project #2 Write a C++ program that requests two dates from the user and then calculates and displays the

 PROG 1203 - Spring 2019 In-Class Project #2 Write a C++

PROG 1203 - Spring 2019 In-Class Project #2 Write a C++ program that requests two dates from the user and then calculates and displays the number of weekends between those two dates. If either of the start or end dates is part of a weekend, you can count that as a whole weekend weekend need not include both Saturday and Sunday to be included. Results to check you program with: Jan. 1 to Jan 31, 2019 contains 4 weekends Feb. 1 to Mar. 31, 2019 contains 9 weekends Jan. 14 to May 3, 2019 contains 15 weekends Mar. 1 to Oct. 31, 2019 contains 35 weekends

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!