Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi, please give a detailed answer and I will thumbs up. Thanks! USE C++ programming language Q1. (25 marks) Create a class called Passenger that
Hi, please give a detailed answer and I will thumbs up. Thanks!
USE C++ programming language 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: passenger.h, passenger. cpp, testpassenger.cppStep 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