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 52Use fscanfto read this informationand print the total dollar amount of inventory (the sum of the cost multiplied by the quantity for each part).