Question: This is a java problem link to GasPrice.txt https://www.dropbox.com/s/8ysnrjas10tg5yb/GasPrices.txt?dl=0 which are 17,22, Write one or more programs that work with this file to peonlO Display

This is a java problem
link to GasPrice.txt https://www.dropbox.com/s/8ysnrjas10tg5yb/GasPrices.txt?dl=0
which are 17,22, Write one or more programs that work with this file to peonlO Display the 10 most common numbers, ordered by frequency Display the 10 least common numbers, ordered by frequency Display the 10 most overdue numbers (numbers that haven't been dra Display the frequency of each number 1-69, and the frequency of number 1-26 time),ordered from most overdue to least overdue 18. Gas Prices In the student sample program files for this chapter, you will find a text file named Ge xt. The file contains the weekly average prices for a gallon of gas in the US, bi April Sth, 1993, and ending on August 26th, 2013. Here is an example of the firs ieuw s of the file's contents 04-05-1993:1.068 04-12-1993:1.079 04-19-1993:1.079 04-26-1993:1.086 05-03-1993:1.086 and s0 O Each line in the file contains the average price for a gallon of gas on a s line is formatted in the following way: pecific date. MM-DD-YYYY:Price MW is the two-digit month, DD is the two-digit day, and YYYY is the four-digit year. Price i the average price per gallon of gas on the specified date. For this assignment you are to write one or more programs that read the contents of the file and perform the following calculations: Average Price Per Year: Calculate the average price of gas per year, for each year in the file The file's data starts in April of 1993, and ends in August, 2013. (For the years 1993 and 2013, use only the data that is present for those years.) Average Price Per Month: Calculate the average price for each month in the file. Highest and Lowest Prices Per Year: For each year in the file, determine the date and amount for the lowest price, and the highest price. List of Prices, Lowest to Highest: Generate a text file that lists the dates and prices, sorted from the lowest price to the highest. List of Prices, Highest to lowest: Generate a text file that lists the dates and prices, sorted from the highest price to the lowest. You can write one program to perform all of these calculations, or you can write diteent programs, one for each calculation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
