Write a program that simulates inventory bins in a warehouse

Assignment Help Computer Engineering
Reference no: EM131654763

Assignment: Inventory Bins

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 structure that keeps the following data:

1. Description of the part kept in bin
2. 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 specified number.

RemoveParts: a function that decreases a specific bin's part count by a specified 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.

Reference no: EM131654763

Questions Cloud

Experience of streaming movies : How does your calculated result over a copper wire compare to your own experience of streaming movies on the Internet? What is your conclusion?
How to reduce the percentage of appliances : The research department of an appliance manufacturing firm has developed a solid-state switch for its blender that the department claims will reduce.
What characterized the successful adjustments : What characterized the successful adjustments? The unsuccessful ones? Do these characteristics apply to an innovative organization?
Example of an application of a graph : Give an example of an application of a graph in computer science. Indicate whether the graph is directed or undirected.
Write a program that simulates inventory bins in a warehouse : Write a program that simulates inventory bins in a warehouse. Each bin holds a number of the same type of parts.
What are the ethical thoughts on printing weapons : Overall, 3D printing technology is beneficial to society and will only continue to grow and increase in capability.
Find the average time required for typing the business form : Jody wishes to have an estimate of the smallest and biggest differences that might exist in the average time required for typing the business form.
Visiting a planet where the inhabitants : The Starship Enterprise is visiting a planet where the inhabitants have 8 fingers. Not surprisingly, they use a base 8 numbering system.
Concept impact the cybersecurity discussion : Clarke and other leaders in cybersecurity put the nation's power systems at the top-tier of our defensive actions against cyber attack.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Implement an intrusion detection system in java

You are to implement an intrusion detection system in java - There are some files that you will work from. An example of each and the generic structure of each are provided

  Compile and run the program until it works

Write down overloaded Java methods that return the difference of two parameters. Your methods should contain the logic to return the difference of the larger parameter.

  Questioncreate a scheme for vb mail order to maintain a

questioncreate a scheme for vb mail order to maintain a list of catalogs. utilize a drop-down combo box for

  In this project you will prepare a program by using an

in this project you will create a program using an array which keeps a list of the rent rates for an apartment

  How is memory organized throughout program execution

Based on regular expressions, can all input be validated if it is correct, or not, based on compilation? If so, how.

  Determining the compliment of a number

Express 64 as the 2’s compliment number. Specify the number of bits you require? With this number of bits, state the largest positive number you may represent?

  Explain about this idea in other scenarios

The only way I believe computers and television would work is when you tape television shows that can be used to give flavor to PowerPoint Presentations. Television clips in a PowerPoint Presentation could be used to grab a viewer's attention.

  Write down a program that inserts 25 random integers

Write down a program that inserts 25 random integers from 0 to 100 in order into a linked-line object. The problem must calculate the sum of the elements and the floating-point average of the elements.

  Patent strategy contributing to succes of technology venture

Describe the ways by which an effective patent strategy contributes to success of technology venture? Answer should include at least 300 words. Also include references.

  What type of sampling technique will you use and why

What type of sampling technique will you use and why? What may be the demographic characteristics of your sample? Identify potential data collection techniques and justify your choice.

  What are the elf magic numbers

What primitive operations exist to support the transfer of data to and from kernel space? Do you want to implement more on top of these?

  Determine outer surface temperature of the resistance wire

A 300-W cylindrical resistance heater is 0.75 m long and 0.5 cm in diameter. The resistance wire is placed horizontally in a fluid at 20° C.

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