subject

C Code 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 10Bearing 5Bushing 15Coupling 21Flange 7Gear 5Gear Housing 5Vacuum Gripper 25Cable 18Rod 12The program should have the following functions: Add Parts: function that increases a specific bins part count by a specified number. Remove Parts: a function that decreases a specific bins part count by a specified number. When the program runs, it should repeat a loop that performs the following steps:1) The user should see a list of what each bin holds and how many parts are in each bin.2) 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.-- Don't accept negative values for the number of arts being
added or removed. DEMONSTRATE ALL FUNCTIONALITY in your program including your Input Validation.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
question
Computers and Technology, 23.06.2019 18:40
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
question
Computers and Technology, 24.06.2019 09:30
Atype of researcher who uses computers to make sense of complex digital data
Answers: 1
question
Computers and Technology, 25.06.2019 00:00
Rom is designed for computer instructions temporary storage of data processing data
Answers: 1
You know the right answer?
C Code Write a program that simulates inventory bins in a warehouse. Each bin holds a number of th...
Questions
question
Mathematics, 18.06.2020 23:57
Questions on the website: 13722363