Create a file "parts_inv.dat" that stores on each line a part number, cost, and quantity in inventory, in the following format:
123 5.99 52
Use fscanf to read this information, and print the total dollar amount of inventory (the sum of the cost multiplied by the quantity for each part).