Question: Coding in C++ Make the files as mentioned in the question The problem 1. Create a class called myDate with month, date, and year fields

Coding in C++

Make the files as mentioned in the questionCoding in C++ Make the files as mentioned in the question The

The problem 1. Create a class called myDate with month, date, and year fields 2. Overload the > operator for the class to read a date in the format mm/dd/yyyy E.g., 09/25/2017 should read 9 in the field month, 25 in the field date and 2017 in the field year a. Create a class called Student with fields name and birthday. Name should be of type string and birthday should be of type myDate. Overload >, - to compare two objects of type myDate From a file called birthdays.txt, read a list of student birthdays in the format 3. 4. 5. mm/dd/yyyy Alice mm/dd/yyyy Bob 6. 7. 8. Print the oldest and youngest students' name and birthdays BONUS - Throw an error if the format of the date is wrong BONUS 2- Validate the date based on the calendar, e.g., 02/30/2017 should throw an error because February has only 28 days in 2017. Rubric 1. myDate class- 10 points 2. Operator >> overload - 25 points 3. Student class -10 point:s Operator >, overload-20 points 5. File read 20 points 6. Find oldest and youngest - 15 points 7. Bonus 1- 10 points 8. Bonus 2 - 10 points Submission instructions Submit the following files in a zip file: myDate.h myDate.cpp . Student.h . Student.cpp progExam1.cpp birthdays.txt

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!