Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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 !!!

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote