Java code programming.

Description

Topic: Java 1000 help

Part A: Airline seating

Millions of commercial airline flights cross the world's cities every year, and each one of these

flights must solve what seems like a simple problem: how do you arrange where each passenger

on one of those flights sits? In this assignment, we will solve a variation on that problem, where

we will observe one restriction on the seats: people who book a flight together will be — if

possible — seated together.

Your program will process data from an array of strings (call this the "bookings" array). The first

array element will contain a number indicating how many seats the aircraft has. The remaining

elements will contain information about groups of passengers who have booked seats on the

flight. The first element of this grouping will be a number that indicates how many people are in

the group. The remaining elements identify the individual passengers in that group by their last

and first name. For example, the array might contain the following 10 strings:

8

2

Nobbly, Greg

Nobbly, Jo-Anne

1

Lee, Sook

3

Lukas, Stephie

Lukas, Cambridge

Lukas, Ogden

which means there are 8 seats on the flight, the first group of passengers has 2 people (with their

names below), the second group has 1 person, and the third group has 3 people.

Normally this data would come from input, such as lines from a text file, not from an array.

That's the next assignment.

The seating chart for the flight will be stored in an array of strings (call this the "seats" array),

whose size is equal to the number of seats on the flight. Each position in the array corresponds to

a seat on the flight; the first element in the array is seat 1, the second element is seat 2, etc.

Initially all the seats are empty. Passengers will be seated by placing their name in this array.

Calculate the price of your order

Simple Order Process

Fill in the Order Form

Share all the assignment information. Including the instructions, provided reading materials, grading rubric, number of pages, the required formatting, deadline, and your academic level. Provide any information and announcements shared by the professor. Choose your preferred writer if you have one.

Get Your Order Assigned

Once we receive your order form, we will select the best writer from our pool of experts to fit your assignment.

Share More Data if Needed

You will receive a confirmation email when a writer has been assigned your task. The writer may contact you if they need any additional information or clarifications regarding your task

Let Our Essay Writer Do Their Job

Once you entrust us with your academic task, our skilled writers embark on creating your paper entirely from the ground up. Through rigorous research and unwavering commitment to your guidelines, our experts meticulously craft every aspect of your paper. Our process ensures that your essay is not only original but also aligned with your specific requirements, making certain that the final piece surpasses your expectations.

Quality Checks and Proofreading

Upon the completion of your paper, it undergoes a meticulous review by our dedicated Quality and Proofreading department. This crucial step ensures not only the originality of the content but also its alignment with the highest academic standards. Our seasoned experts conduct thorough checks, meticulously examining every facet of your paper, including grammar, structure, coherence, and proper citation. This comprehensive review process guarantees that the final product you receive not only meets our stringent quality benchmarks but also reflects your dedication to academic excellence.

Review and Download the Final Draft

If you find that any part of the paper does not meet the initial instructions, send it back to us with your feedback, and we will make the necessary adjustments.