Write ac++ program which consists of two classes: 1. Date 2. Student First class
ID: 3612454 • Letter: W
Question
Write ac++ program which consists of two classes:
1. Date
2. Student
First class Date should contain threedata members:
Day
Month
Year
Date also contain following memberfunctions:
Setter function
Getter function
showdate()
Nowsecond class Student should havefollowing three data members:
ST_ID
Name
Ad_date
WhereID andName are charpointer while Ad_date (Date of Admission)is of type Date.
Studentclass should contain two member functions:
Display()
setdate()
Now in main function create an object of Class Student and call the memberfunctions with it.
--------------------------------------------------------------------------
Sampleoutput:
Name: Ali
ID: BC020400000
Admission Date: 12-08-2008
Explanation / Answer
Hey Martain alot of errors in ur code ..;s rewrite it then send plz do it fast i also need this code !!!
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.