Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The part.txt file is like this; P-11191 A 10 34.29 P-13192 C 65 76.98 P-11196 B 39 59.04 P-11226 C 29 24.46 P-14036 A 41

image text in transcribed

The part.txt file is like this;

P-11191 A 10 34.29

P-13192 C 65 76.98

P-11196 B 39 59.04 P-11226 C 29 24.46 P-14036 A 41 67.24 P-14124 B 7 69.20 P-14175 B 41 9.21 P-14226 D 14 28.95 P-14455 D 26 26.39 P-14493 A 29 22.09 P-14518 D 9 5.56 P-14613 A 49 74.66 P-14702 A 38 92.06 P-14748 C 24 24.80 P-14786 D 22 5.55

Write a program to read the pa e and display the cost of inventory for each of the part classes. The file contains parts of class A, B, C and D. A typical line in the file would be P-11191 A 10 34.29 This is part number P-11191, a class A part, of which there are 10 in stock and each costs $34.29. Your program, therefore, would add 342.900 to class A inventory. The parts file is on Canvas in this week's module in zip format. After downloading it, right click and choose Extract. C:\Windows system32Mcmd.exe .....................INUENTORY REPORT A parts Count 85 Value of inventory 191180.07 69 Value of inventory 74764.16 B parts Count parts Count C 76 alue of inventory 49506.06 D parts Count 61 Value of inventory 22738.69 Unknown Count 13 value of inventory 4282.68 Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions

Question

Compare and contrast automating and learning.

Answered: 1 week ago

Question

Compare the current team to the ideal team.

Answered: 1 week ago

Question

a. Do team members trust each other?

Answered: 1 week ago