Question
.Create a class called myDate with month, date, and year fields2.Overload the >> operator for the class to read a date in the format mm/dd/yyyya.E.g.,
.Create a class called myDate with month, date, and year fields2.Overload the >> operator for the class to read a date in the format mm/dd/yyyya.E.g., 09/25/2017 should read 9 in the field month, 25 in the field date and 2017 in the field year3.
Create a class called Student with fields name and birthday. Name should be of type string and birthday should be of type myDate. 4.Overload >, <, <=, >= to compare two objects of type myDate5.
From a file called birthdays.txt, read a list of student birthdays in the format: mm/dd/yyyyAlicemm/dd/yyyyBob6.Print the oldest and youngest students name and birthdays7.
Need help ASAP
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started