Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COEN 244 (Winter 2019) - Assignment1 Deadline: Monday Jan 28 11:55PM Type: Group Assignment Weight: This assignment is worth 5% of your final grade IMPORTANT:

image text in transcribed

COEN 244 (Winter 2019) - Assignment1 Deadline: Monday Jan 28 11:55PM Type: Group Assignment Weight: This assignment is worth 5% of your final grade IMPORTANT: You must include the name and student number of both members of a group in every file. The assignments must be submitted on Moodle. Assignments sent by email won't be corrected No late submission policy. Q1. (25 marks) Create a class called Passenger that represents passengers of an airline company. A passenger has the following attributes: passenger id (int), name (string), address (string), telephone (string), date of birth (object of the class Date that will need to be created. A date is identified by three integers that represent the day, month, and year). The class should have at least the following member functions: - One or more constructors Necessary getters and setters A print function that prints information about a passenger A destructor Deliverables: passengerh, passenger. cpp, testpassenger.cpp

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

1. Describe the power of nonverbal communication

Answered: 1 week ago