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, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
The database design steps are listed below in the incorrect order. choose the correct order number next to each step. determine the information to be stored in the database. determine the fields needed to record the data determine if there will be any repetition of data entered, and separate the fields into tables to normalize the data. create relationships to connect the tables.
Answers: 3
question
Computers and Technology, 24.06.2019 17:40
Create a file called favorite_foods, and list your favorite foods, entering five or six or more. press enter after each favorite food so it appears on its own line (make certain you also press enter after the final food item). after the file is created, add two more foods you like that are not on the list (press enter after the final food item). view the list of foods to make certain the two items you added appear at the end of the list
Answers: 2
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
Questions on the website: 13722360