make a file partsinvdat that stores on each line


Make a file "parts_inv.dat" that stores on each line a part number, cost, and quantity in inventory, e.g.:

123 5.99 52
456 3.97 100
333 2.22 567

Use fscanf to read this information, and print the total $ amount of inventory (the sum of the cost multiplied by the quantity for each part).

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: make a file partsinvdat that stores on each line
Reference No:- TGS0217602

Expected delivery within 24 Hours