Question: Question 9 19 Points Suppose you are given a text file named input. The file includes 100 lines. Each line of the file contains the
Question 9 19 Points Suppose you are given a text file named "input". The file includes 100 lines. Each line of the file contains the item name and price, separated by".". Write Java program to read the file and find the average price and then save the items names into another text file named "List" for items with price below average. As shown in the example below. I input.txt Table, 25.5 Desk, 38.5 Laptop,350.54 List.txt Average = 54.987 Items below average Table Desk
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
