C program Airline reservation project

Completed Posted Aug 20, 2015 Paid on delivery
Completed 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

C Programming

Project ID: #8303410

About the project

3 proposals Remote project Active Aug 20, 2015

Awarded to:

malikrupani

I am having a degree in computer science thus will be able to do this in no time...thanks you..............................

$15 USD in 1 day
(1 Review)
0.4

3 freelancers are bidding on average $22 for this job

Baraiya

Hello I am .Net Software Developer working on Web & Desktop applications (C# expert developer) Languages , i can on : C,C++,C#.Net, VB.Net, Android, Java, C, C++, PHP, Java script, JQuery, Ajax, HTML etc... Da More

$27 USD in 1 day
(6 Reviews)
2.9
cungthehung

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!

$25 USD in 1 day
(2 Reviews)
2.1