Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are to write a program to produce an inventory report for a local company. Your input will be item name, item number, quantity, price

You are to write a program to produce an inventory report for a local company. Your input will be item name, item number, quantity, price per item, safe stock value. The following shows which columns the input will be in:

item name item number quantity price safe stock

20 chars 5 char 3 char 6 chars 3 chars

Output will be as follows:

item number item name quantity price price*quantity %ofStock flag

You will place a symbol in the flag field if the inventory quantity is less than the safe stock value.

This tells the company that they are getting too low on this item and need to build up the inventory stock.

Output:

  1. Print the report in sorted ordered, sorted on item number.

For each item, indicate the total value of the stock and the percentage of this item to the total stocks value.

  1. Indicate the percentage of total inventory value to the total value of the highest single item in inventory. Print the item and its information. (Print this at the end of the table. )

  1. Indicate the percentage of total inventory value to the total value of the three least valued items combined. Print the three items and their information, again at the end of the table. ( I just need to see how much of the companies monies are tied up some of the lesser inventory.)

Restrictions:

You must use a link list for the inventory (no array). C++ Language

Data to read in called invt.txt:

Wong Batts 98723 243 6.45 200 Widgets No Two 83209 970 17.50 800 HumpBack Whale Songs 74329 42 23.70 50 Frozen Ice Cubes 73922 100 0.15 250 Plastic Ice Cubes 10044 450 0.60 540 Canned Solar Winds 23923 12 550.00 5 Sented Toe Jamm 18492 14 0.50 20 UnSented Toe Jam 18499 23 .74 20 Backwards Left Turns 87293 5 34.95 12 El Slick Slider 38324 15 225.00 18 Meals for Up Chuck 62042 20 16.50 24 Super House Cleaner 71083 14 69.85 18 Stars Dancing Shoes 23934 80 22.50 75 LowRider Briches 98744 138 45.95 125 HighRider Shoes 12283 372 35.95 400 Colored Pie Charts 51121 60 1.50 30 LensLess Saftey Glas 44433 22 2.10 35 Used Boat Anchors 73277 6 17.50 7

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

Entity Alignment Concepts Recent Advances And Novel Approaches

Authors: Xiang Zhao ,Weixin Zeng ,Jiuyang Tang

1st Edition

9819942527, 978-9819942527

More Books

Students also viewed these Databases questions

Question

Understand the basic elements of the promotion mix.

Answered: 1 week ago