Answered step by step
Verified Expert Solution
Link Copied!

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!image text in transcribed

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

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

Finance The Role Of Data Analytics In Manda Due Diligence

Authors: Ps Publishing

1st Edition

B0CR6SKTQG, 979-8873324675

More Books

Students also viewed these Databases questions