A company keeps its inventory and sales information in a file named parts. txt. The file contains the part number, the i
Posted: Thu Jul 14, 2022 2:10 pm
A company keeps its inventory and sales information in a file named parts. txt. The file contains the part number, the in-stock amount, the quantity sold, the restock minimum level and the selling price for each part. At the end of the month, the company generates two reports i.e., inventoryReport.txt and salesReport.txt to be presented to the company manager. The text files samples are shown below: parts.txt salesReport.txt
Write a complete Java program to read the input fle and to write the required output files. For the inventory report, the current balance is in-stock amount minus the quantity sold. The amount to minimum level is the amount needed to bring the inventory to the minimum level. Use exception handling operations to deal with input-output errors.
Write a complete Java program to read the input fle and to write the required output files. For the inventory report, the current balance is in-stock amount minus the quantity sold. The amount to minimum level is the amount needed to bring the inventory to the minimum level. Use exception handling operations to deal with input-output errors.