The main objective of this project is to write a C++ code to screen the list of passengers travelling internationally,

computer science

Description

COMP1100 – C++ Project

 

Passenger’s medical screening system

 

Objective: The main objective of this project is to write a C++ code to screen the list of passengers travelling internationally, the system (code) should gather information about the passengers like name, age, contact number,  gender, body temperature,  departure, arrival, layover and its duration. Consider this system as a kiosk in an airport.

 A file must be created for each passenger (.txt) format (in real world it may be in encrypted format) and its details has to be stored in it.  Depending upon the age, symptoms, location and duration of layover of the passenger, medical examination should be recommended.

Scenarios:

1.     If the passenger has any flu symptoms (High body temp) educate the passenger to consult the doctor in the airport.

2.     If the passenger’s age is in terms of infant or senior citizen with duration of layover more than 5 hours (Hint: can use &&, ||, nested if else statements), educate the passenger to consult the doctor in the airport.

3.     If the passenger’s layover is in virus affected area but with no symptoms educate them to just self quarantine.

4.     If the passenger’s layover is in non virus affected area with no symptoms educate them to be free.

Make sure your program gathers the information and educate the passenger depending upon their answers, the program should run continuously by getting the next passenger information. The programs should not terminate after gathering the information of the first passenger. (hint: use while loop)

Note: Gather minimum of 5 passenger list for your project, use array and for loop in your program to get the info.


Related Questions in computer science category