Australasian Airways Pty Ltd, is an Australian low-cost airline headquartered in Sydney. The airline
operates daily direct servicesfrom Sydney to 4 different cities, Auckland, Melbourne, Gold Coast and Perth
using a mixed fleet of the Airbus A320 family and the Boeing 787 Dreamliner. Recently, the Executive
committee of the airline has decided to install self-service check-in kiosks for passengers to check
themselves in for their flight and print their own E-boarding passes. The top administration of the airline
has contacted you to design and create a prototype for the check-in kiosks.
To print the E-boarding pass(es), the program asks for the number of passengers that the E-boarding pass
need to be printed for. It, then ask for each passenger’s details, e-ticket number, full name, and
destination for the flight. Each passenger receives a 7-character long e-ticket number, e.g. AB3426C, while
purchasing a ticket from the airline. The program, then determines the flight number, seat number, and
gate number for the flight and print a boarding pass for each passenger.
As the user enters passenger details such as e-ticket number, full name, and destination, the program
validates the user input. If an invalid input is entered, the program displays an appropriate error message
and asks the user to re-enter invalid values until each entry is correct. Assume an empty value for a
passenger’s name is invalid input. An e-ticket number must have exactly 7 characters to be considered as
valid. If the input value of destination is anything other than Melbourne, Gold Coast, Perth or Auckland,
consider it as invalid.
At the Sydney domestic airport, the flights to a given destination are assigned to the same flight number
and depart from the same gate as shown in Table 1. For example, all flights to Melbourne have a flight
number, AA176 and depart from gate 32. The program calculates the seat number by extracting the last
three characters from the 7-character long e-ticket number. For instance, the seat number for a passenger
with a e-ticket number of AB3426C will be 26C.
Passengers of Australasian Airways can earn velocity points for their flight which can be redeemed for
buying tickets on future flights. Passengers receive 1 point for every 3 miles travelled in their flight. The
velocity points increase only for each 3-mile increment. The program displays the total points earned in
the flight. For example, the air distance between Sydney and Melbourne is 438 miles as shown in Table 1.
Therefore, a passenger flying from Sydney to Melbourne will earn 146 velocity points. A passenger flying
from Sydney to Gold Coast will earn 140 velocity points. When a group of passengers are travelling, the
total velocity points earned should be calculated. For example, for a group of two people with one
travelling to Melbourne and the other travelling to Gold Coast, the total velocity points earned should be
286. The prototype should print (display on screen) the E-boarding pass details as shown in section 2.
Input/output specification.

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!