Question: Chegg experts have given me the wrong answer on this three times now, so if you do not know how to solve it please do
Chegg experts have given me the wrong answer on this three times now, so if you do not know how to solve it please do not attempt. I do not mean to be rude but I can't use 3/4 questions to get one answer. Thanks
Your .dat file should contain and must be formatted as follows:
|Part #|Item description|# in stock|Value/each|Reorder level|Reorder Quantity
1874 Headlight_LoBeam 6 12.87 5 5 1918 Wing_Nut 5 1.27 6 8 1924 Wheel_Rim 2 14.64 2 3 1149 Speedometer_Cbl 5 11.38 4 5 1290 Stove_Bolt_3/4in 56 0.17 60 100 1853 Taillight -3 6.85 8 10 1930 Door_Key 123 0.87 25 60 1291 Stove_Bolt_1in 50 0.22 50 80 1949 Motor_Oil_Qts 45 1.35 20 50 1941 Oil_Filter_Typ_A 14 3.75 15 20 1942 Oil_Filter_Typ_B 25 2.80 15 20 1944 Oil_Pan 0 2.87 10 10 1299 Stove_Bolt_1/2in 114 0.13 60 100 1449 Sheet_Mtl_Screw 200 0.18 250 300 1948 Trim_Ring 10 15.45 8 10 1939 Door_Lock 25 5.18 7 12 1940 Motor_Oil_Gals 52 5.87 43 50 1889 Headlight_HiBeam 12 8.95 5 5 1873 Headlight_Comb 4 21.50 5 8 1929 Rocker_Panel 5 137.85 2 4
El I need a C++ program which inputs an inventory item from a .dat file. With said input the program should be able to calulate the total number and total value of said item. If the number of items in stock is less than the reorder level the program should prompt the user with a message to order more. The reorder message should also contain the quantity needed for said reorder. Sample output: Jame's Auto Shop - Inventory Audit Part Number. Item desc. Current stock Price/each Total Value 1042 1077 1097 Brake Pad Tires Rims LOB 74.98 104.98 4 4 ***REORDER 8 299.92 419.92 Total Inventory Audit $ xxxx.xx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
