Assignment task
Write a java console application that allows the user to read,validate, store, display, sort and search data such as flightdeparture city (String), flight number (integer), flight distance(integer), flight price (double) and discounted flight price(double) for N flights. N should be declared as a constant and itshould be equal to the largest digit of your student id number(e.g. if your ID number is S7840213 then N should be equal to 8 andyou can declare it as final int N=8;). The flight departure city,flight number, flight distance, flight price and discounted flightprice must be stored in an Array/ArrayList (index 0 for
PayPal Gateway not configured
PayPal Gateway not configured