Question: I need code of this whole assignment. PLEASE don t explain in the answer how to do it . Just complete the code for me

I need code of this whole assignment. PLEASE dont explain in the answer how to do it. Just complete the code for me.
The program, airline_project.java, has been started for you and included with this assignment. The assignment will also use the data file, flights.txt, which is also included with this assignment.
Flight number, Flight origination city, Flight destination city, Flight date, Flight time, Number of coach seats on flight, Cost of each coach seat, Number of first class seats on flight, Additional cost of first class seats
methods as follows:
start_program- This method will open the data file flights.txt and read flight information into a set of parallel arrays. ALL WORK required in other sections of the code is then performed on the parallel arrays. You will ONLY refer to the flights.txt data file in this start_program method. print_all_info This method will print all information that was read into the flight arrays
print_specific_flight_info- This method will print all information on a specific flight. You will have to prompt the user for the flight number and search the arrays for the flight.
print_destination This method will print all information on all flights going to a specific city. You will have to prompt the user for the destination city and search the arrays for the destination city
print_total_seats For each flight, this method will print the flight number and the destination of the flight along with the total number of seats on the flight (coach + first class seats)
print_seat_value For each flight, this method will print all information on the flight and calculate the value of the coach seats (number of coach seats multiplied by the cost of the coach seats) and the value of all the first class seats on the flight. (A cost of one first class seat is the cost of the coach seat plus the additional cost that was read in)
airline_project.java Code :
package airline_project;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.StringTokenizer;
import javax.swing.JOptionPane;
public class airline_project
{
public static void main(String[] args)
{
int selection;
start_program();
selection=Menu();
while (selection !=6)
{
if(selection ==1)
print_all_info();
else
if (selection ==2)
print_specific_flight_info();
else
if(selection ==3)
print_destination();
else
if(selection ==4)
print_total_seats();
else
if(selection==5)
print_seat_value();
selection=Menu();
}//end of while loop
System.exit(0);
}
public static void start_program()
{
System.out.println("
"+"Executing start_program");
}
public static int Menu()
{
int selection;
String value;
String words= "Acme Airlines"+"
"+
"1. All flight Info"+"
"+
"2. Specific Flight Info"+"
"+
"3. Flights to specific Destination"+"
"+
"4. Total Seats on Flights"+"
"+
"5. Value of seats on all flights"+"
"+
"6. Exit"+"
"+
" Please make your selection ";
value=JOptionPane.showInputDialog(null, words, "Input Data", JOptionPane.QUESTION_MESSAGE);
selection=Integer.parseInt(value);
return selection;
}
public static void print_all_info()
{
System.out.println("
"+"Executing print_all_info");
}
public static void print_specific_flight_info()
{
System.out.println("
"+"Executing print_specific_flight_info");
}
public static void print_destination()
{
System.out.println("
"+"Executing print_destination");
}
public static void print_total_seats()
{
System.out.println("
"+"Executing print_total_seats");
}
public static void print_seat_value()
{
System.out.println("
"+"Executing print_seat_value");
}
}
Contents of the flights.txt data file:
1234#Pittsburgh#Phoenix#04/02/23#10:30am#108#599#8#500#
4567#Boston#New York#04/03/23#18:10am#210#199#12#400#
9876#Pittsburgh#Seattle#04/04/23#1:30pm#110#549#12#600#
8888#Chicago#Pittsburgh#04/05/23#2:45pm#106#399#8#500#
7777#Pittsburgh#Miami#04/06/23#9:35am#116#459#16#1000#
2892#Las Vegas#New York#04/07/23#8:10pm#107#489#4#600#
4444#Pittsburgh#San Francisco#04/23/23#5:55pm#124#699#12#450#

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!