C program Airline reservation project
$10-30 USD
Paid on delivery
An airline company uses the formula shown below to determine the priority of passengers on the waiting list for overbooked flights.
Priority number = A/1000 + B – C
Where
A is the customer’s total mileage in the past year;
B is the number of years in his or her frequent flier program;
C is the sequence number representing the customer’s arrival position when he or she booked the flight
Given a file of overbooked customers as shown in the following table (make sure to add your own name and data), write a program that reads the file and determines each customer’s priority number. This program then builds a priority queue using the priority number and prints a list of waiting customers in priority sequence.
Name Mileage Years Sequence
Bryan Devaux 53,000 5 1
Amanda Trapp 89,000 3 2
Baclan Nguyen 93,000 3 3
Sarah Giley 17,000 1 4
Warren Rexroad 72,000 7 5
Jorge Gonzales 65,000 2 6
Paula Hung 34,000 3 7
Lou Mason 21,000 6 8
Steve Chu 42,000 4 9
Dave Lightfoot 63,000 3 10
Joanne Brown 33,000 2 11
Prabhjot Singh 75000 4 12
Project ID: #8303410
About the project
Awarded to:
I am having a degree in computer science thus will be able to do this in no time...thanks you..............................
3 freelancers are bidding on average $22 for this job
Hi. I can complete your task in 1 day with that price. I did satisfied all my employer about my work. You can check it in my profile. Hope we can have a deal. Thank you!