build a program in any programming language as described

Fertiggestellt Veröffentlicht vor 5 Jahren Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

You run an Airline that has several planes that fly to different destinations around the world. You

pride yourself on having a high customer satisfaction with those that fly with you. This you

achieve by ensuring that:

● Groups of travellers are seated together on the same row.

● Providing travellers with a window seat if request.

To determine the best sitting arrangements on the flight create a program that takes an input file

as a command line argument and prints the results to standard out. An example input file is: 4

4

1W 2 3 4 5 6 7 8 9 10 11W

12W 13 14 15 16

The first line specifies the dimensions of the plane. The first digit is the number of seats in a row

and the second digit is the number of rows on the plane.

Each subsequent line describes a group of travellers. For example, the first line of travelers

describes a group of three where the first traveller has a preference for a window seat. Each

number uniquely identifies the traveller on the flight.

The output for the above file should be:

1 2 3 8 4 5 6

7 11 9 10 12

13 14 15 16

100%

The program should aim to maximize customer satisfaction. The last line in the above output

indicates the percentage of customers that have had their preferences satisfied. If the plane is

over subscribed the program should aim to maximize customer satisfaction of those customers

waiting for the flight.

When you are submitting your program please provide a brief description of the approach in a

[login to view URL] file and zipped folder that includes a buildable project with the source code and

appropriate tests.

C Programmierung C++ Programmierung Java Python

Projekt-ID: #18464170

Über das Projekt

11 Vorschläge Remote Projekt Aktiv vor 5 Jahren

Vergeben an:

freelancer1005

Hi There, Just studied your requirement. i can do this in java, C++, C# and in other languages if you want. Kindly share more test cases and drop a message in the chat window so that we can start working on it. I ha Mehr

€16 EUR in 3 Tagen
(1 Bewertung)
3.8

11 Freelancer bieten im Durchschnitt €55 für diesen Job

hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environ Mehr

€23 EUR in 1 Tag
(169 Bewertungen)
7.1
kcbStar

Hello, I am interested in this project and so wanted to discuss more it in details. I have a lot of experience in Java/C++ programming. I will provide you quality work according to your instrument. I am ready to discus Mehr

€34 EUR in 1 Tag
(129 Bewertungen)
6.4
suyashdhoot

Hi I am a very experienced statistician, data scientist and academic writer. I have completed several PhD level thesis projects involving advanced statistical analysis of data. I have worked with data from several comp Mehr

€350 EUR in 1 Tag
(22 Bewertungen)
5.4
mehfuza

Hi, I have read your project requirements and very interested to work on it. I have completed similar program for flight scheduling. I'll do the project in Java. Looking forward to work on your project. Awaiting your p Mehr

€29 EUR in 2 Tagen
(36 Bewertungen)
4.9
heem42

I have read your requirement, I can do your job in Java and C++ and assure you that I will give you best quality work and will try to give it to you as soon as possible. Lets discuss further in chat.

€27 EUR in 2 Tagen
(13 Bewertungen)
4.4
mikenru1

Hi! Not a very complicated task for experienced developer. Can be done within one day. Feel free to contact me via chat.

€20 EUR in 1 Tag
(12 Bewertungen)
3.7
itstherickdance

This is a fairly simple project. I can produce an easy-to-understand, well-documented implementation in Python and deliver it to you as described. You will likely have the finished product well before my three-day dead Mehr

€50 EUR in 3 Tagen
(3 Bewertungen)
2.0
kenn479

I have written over 4 programs in VB.net 3 in C++ and 1 in C. Do specify which you need and I can source my archives for more if any. Kind regards. Relevant Skills and Experience I have in depth knowledge of the pgm a Mehr

€9 EUR in 2 Tagen
(0 Bewertungen)
0.0
MKFIT

We're startup company with experience in development of enterprise applications and websites. If you're interested in our services please contact us so we can discuss your needs.

€23 EUR in 10 Tagen
(0 Bewertungen)
0.0