Write a program that simulates inventory bins in a warehouse

Assignment Help C/C++ Programming
Reference no: EM13936789

Book: Starting out with C++: From Control Structures through Objects
Edition: 6th Edition
ISBN: 0321545885

Chapter - 11 (Structured Data)
Problem #14

IMPORTANT Note:
1) You MUST use the structure presented in the attached PDF file.
2) Use the functions insert, retrieve, delete, option menu.
3) Copy Constructor.

In C++, write a program that simulates inventory bins in a warehouse. Each bin holds a number of the same type of parts. The program should use a structure that keeps the following data:
Description of the part kept in the bin
Number of parts in the bin

The program should have an array of 10 bins, initialized with the following data:
========================================
Part Description ----------Number of Parts in the Bin
========================================
Valve 10
Bearing 5
Bushing 15
Coupling 21
Flange 7
Gear 5
Gear Housing 5
Vacuum Gripper 25
Cable 18
Rod 12
========================================

The program should have the following functions:

AddParts: a function that increases a specific bin's part count by a specific number.

RemoveParts: a function that decreases a specific bin's part count by a specific number.

When the program runs, it should repeat a loop that performs the following steps:

The user should see a list of what each bin holds and how many parts are in each bin.

The user can choose to either quit the program or select a bin.

When a bin is selected, the user can either add parts to it or remove parts from it.

The loop then repeats, showing the updated bin data on the screen.

Input Validation: No bin can hold more than 30 parts, so don't let the user add more than a bin can hold. Also, don't accept negative values for the number of parts being added or removed.

Please see the attached PDF file, you will need it to complete this problem as directed.

Attachment:- 2Data Structure Chap11 Prob14.zip

Reference no: EM13936789

Questions Cloud

Marketing orientation and product orientation : Marketing Orientation and Product Orientation are, arguably, two opposite ends of the customer orientation spectrum. Write a report that: Identifies positive and negative aspects of each approach and draws conclusions
Target consumer-buyer analysis-segmentation and targets : Develop a table that identifies the a. Segments in market b. Customer needs for each segment c. Corresponding features and benefits desired  d. Size of segments
What portion of the plan would you like to implement : What small group have you selected (for example, three families with young children, a group of five AIDS patients, and so on)? What made you select this particular group? What portion of the plan would you like to implement in the small group
Provide a description of cancer vaccinations : Provide a description of cancer vaccinations including an explanation of the difference between endogenous and exogenous categories of vaccines. Also, please provide several references for further elaboration of the topic.
Write a program that simulates inventory bins in a warehouse : In C++, write a program that simulates inventory bins in a warehouse. Each bin holds a number of the same type of parts. The program should use a structure that keeps the following data:
Why would cancer cells express high levels of telomerase : The enzyme telomerase adds DNA to the ends of chromosomes. Why would cancer cells express high levels of telomerase?
Evaluation of plan effectiveness criteria : Evaluation of Plan Effectiveness Criteria - Would I be able to implement the interventions? If not, what barriers exist
Difficulty to get people take part in market research survey : It is becoming more and more difficult to get people to take part in market research surveys. What are the implications of this and what can market researchers do to encourage people to take part? - No more than a 1,000 words.
What are the mechanisms of dna repair : What is DNA repair? What are the mechanisms of DNA repair? What is DNA stability?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Calculate and displays the number of slices of pizza

The manager of a pizza palace wants a program that calculate and displays the number of slices of pizza into which a circular pizza can be divided . The manager will enter the radius of the entire pizza.

  A computational study of a spring-mass system in steady

a computational study of a spring-mass system in steady stateidealized spring-mass systems have numerous applications

  Write a program that uses joptionpanes to perform

For example, if the distance of travel is 30 kilometers, the time of travel is 2 hours, then the speed is 30/2 = 15 (kilometers per hour).

  Write a program that displays the size of a population

Write a function that calculates the size of the population after a year. To calculate the new population after one year.

  Write function that randomly produces maze

Write a function mazeGenerator that randomly produces a maze (in C++). The Function should take as arguments a two-dimensional 12-by-12 character array.

  Program in c to ask the user to input a set of characters

Write a program in C++ to ask the user to input a set of characters, one at a time separated by the carriage return (Enter). Each character, as well as, its corresponding ASCII value should be stored in a linked list node. This means that each nod..

  Write a program that will be used to gather statistical

write a program that will be used to gather statistical data about the number of movies college students see in a

  Your project must use and demonstrate understanding

Your project must use and demonstrate understanding of:a. Variables b. Loops c. Decision statements d. File I/O e. Screen output f. Keyboard input g. Functions h. Arrays i. Searching and sorting j. Classes k. Objects l. Methods

  Research paper on overloading operator

Write a 2 page research paper (excluding title and reference pages / double spaced) on overloading operators. Explain the concepts discussed in the textbook using at least an example not included in the textbook.

  Uses the sieve of eratosthenes algorithm

Write a complete program that uses the Sieve of Eratosthenes algorithm to list all prime numbers from 1 to 1,000 .

  Farey fractions of level one

Write a program that for a number n entered by the user creates-by constantly extending it-a linked list of fractions at level n and then displays them.

  Use a for loop to generate 100 random numbers.

Use a For Loop to generate 100 random numbers. Determine the most current maximum and minimum number as the random numbers are being generated. This is referred tp as a "running" maximum and minimum. Display the running maximum and minimum values as ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd