• Create three different text files to hold the following: Item ID, Item Name, Item Price. Use random values to fill the
Posted: Fri May 20, 2022 11:32 am
• Create three different text files to hold the following: Item ID, Item Name, Item Price. Use random values to fill the files. • Write a complete java program to read the text files and store the values in 1D arrays. . Make sure to handle any errors in case the files were not found. • Calculate the average price and find how many prices were invalid (O or less). • Print a report to show all information • Submit your answer as a word document, along with the created text files. • Example: Text Files: Item Notepad File Edit Format View Help 202020 201202 213201 220123 Item Name Notepad File Edit Format View Help TV Phone PS4 AirPods ItemPrice - Notepad File Edit Format View Help Ree 300 350 UTF-8 100% Windows (CRLE) UTF-8 100% Windows (CRLF) UTF-8 100% Windows (CRLE) • Output: ID Name 202020 TV 201202 Phone 213201 PS4 22e123 AirPods Average- 212 Number of invalid prices- 1 Price 200.0 300.0 350.0 -9.0 Invalid