Question: Write a C+ + code to create a class date. Using this class calculate the age of a person as on current date. Input D.O.B.

Write a C+ + code to create a class date. Using this class calculate the age of a person as on current date.

 Write a C+ + code to create a class date. Using

Input D.O.B. from user. Estimate present date from system state and then calculate the age using given class and its methods.

(b) Write a C++ code to create a class date. Using this class calculate the age of a person as on current date. 10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem we need to create a C class named Date that allows us to calculate a persons age based on their date of birth The class will use ... View full answer

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!