Answered step by step
Verified Expert Solution
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:
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started