Write a c++ program which consists of twoclasses: 1. Date 2. Student First class
ID: 3612638 • Letter: W
Question
Write a c++ program which consists of twoclasses:
1. Date
2. Student
First class Date should containthree data members:
Day
Month
following member functions:
Setter function
Year
Date also contain Getterfunction
showdate()
Now second class Student shouldhave following three data members:
ST_ID
Name
Ad_date
Where ID andName are char pointer whileAd_date (Date of Admission) is of type Date.
Student class should containtwo member functions:
Display()
setdate()
Now in main function create an object of ClassStudent and call the member functions with it.
Explanation / Answer
thanks Reena i shall b very thankful to you for this act of kindness
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.