class – Nursing Writings

class – Nursing Writings

Problem Statement:
Write a c++ program which consists of two classes:
1. Date
2. Student
First class Date should contain threedata members:
Day
Month
Year
Date also contain followingmemberfunctions:
Setter function
Getter function
showdate()
Now second class Student should have followingthree data members:
ST_ID
Name
Ad_date
Where ID and Name are charpointer while Ad_date (Date of Admission) is oftype Date.
Student class should contain two memberfunctions:
Display()
setdate()
Now in main function create an object of ClassStudent and call the member functions with it.
————————————————————————–
Sample output:
Name:Ali
ID:BC020400000
Admission Date:12-08-2008

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper