Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have to write this program in c++ using classes and arrays . thank you 3. (25 marks) We want to create a class called

image text in transcribedI have to write this program in c++ using classes and arrays . thank you

3. (25 marks) We want to create a class called Student, which represents the students of a university. A student is defined with the following attributes: id number (int), first name (string), last name (string), date of birth (string), address (string), and telephone (area code (int) and 7-digit telephone number(string)). The member functions of the class Student must perform the following operations: .Return the id number. Return the first name of the student. Modify the first name of the student. Return the last name of the student Modify the last name of the student . Return the full name, i.e., first name and last name Return the date of birth Modify the date of birth. Return the age of the student. Return the address of the student. Modify the address of the student. Return the telephone number Modify the telephone number Return true if two given students have the same last name. Return false otherwise . Return true if two given students are roommates, i.e., they live in the same address. Test your class by prompting the user to enter information about two particular students. Create two objects of the class Student with the information entered by the user, and finally, and test the member functions of the class. 2/3 COEN 243 - Fall 2018 Deliverables: A file called student.h that contains the specification of the class A file called student.cpp that contains the implementation of the member functions of the class A file called teststudent.cpp that contains the main function

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

Students also viewed these Databases questions

Question

Are you really powerful and perceived as such by others?

Answered: 1 week ago

Question

KEY QUESTION Refer to the table in question

Answered: 1 week ago