السلام عليكم ورحمة الله وبركاته
ارجوا منكم مساعدتنا فقط بشرح فكرة هذاالسؤال وتوضيح المطلوب عمله والا احنا
ان شاء الله اننا قد الحل وبنحله ....لكن مو عارفين المطلوب بالضبط ....هو بصراحة
project نازل لنا ومطلوب منا حله على فقرات ....اول شي حليناها والحمدلله
ويوم جينا نحل الثاني حسينا اننا محتاجين توضيح ....
نتمنى ماتبخلوووووووووون علينا بأي شي تقدرون عليه .....وجزاكم الله كل كل كل خير ....
..................
The system should keep information about Passengers and Reservations they have made through the system. For a passenger, his name, phone, and passport number must be stored. The system must allow the update of this information. For each reservation, its ID (reservation number) which is automatically generated by the system, the passenger information, and the seat type (smoker or not) should be stored.
The id a Reservation is a single string composed of two parts: two characters which are the first two letters of the passengers name, followed by a serial number generated by the system.
.....
Task B
Create a header file for the class student which contains the following header, then write its implementation file.
#ifndef RESERVATION_H_
#define RESERVATION_H_
#include<iostream>
#include<string>
#include"Passenger.h"
usingnamespace std;
classReservation{
private:
static intsn;
conststringID; //first two letters of passanger name plus sn
boolsmokerSeat;
Passengerpassenger;
public:
//Constructor taking the parameters of Passenger
Reservation(string psngrName, long psngrPhone, string psngrPassport, bool smoke);
//Constructor taking a Passenger object
Reservation(Passenger& psngr, bool smoke);
Passenger getPassenger(); bool isSmoker();
string getReservationNumber() void printDetails();
};
#endif/*RESERVATION_H_*/
فقط نريد توضيح هذه الجزئية وكماذكرت ان الجزئية التي تسبقها سبق وعملناها
وللمعلومية هم قالوا لنا اننا نبحث عن هالمشروع وحله
......
وشكرا مقدما لكم جميعا




