subject

Write a small c program which holds the locations of items on a shelving unit. specifically, your program should: contain a struct representing an item on the shelf. it needs only contain the item’s name and price. ask the user for the number of shelves in the unit, and the number of "slots" available on each shelf which can hold items. from the above, build a two dimensional array of item structs. the array represents locations on the shelving unit (rows = shelves, columns = slots on the shelves). allow the user to add items to the shelves by giving the name, price, and location by reading input in the format: , , , allow the user to indicate they are done adding items. at this point the user should be able to enter the coordinate of an item in the shelving unit and the program should print out the information about the selected item (or some message if that slot is empty).

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
What do the principles of notice, choice, onward transfer, and access closely apply to? a. privacyb. identificationc. retentiond. classification
Answers: 1
question
Computers and Technology, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 23.06.2019 22:50
An environmental protection agency study of 12 automobiles revealed a correlation of 0.47 between engine size and emissions. at 0.01 significance level, can we conclude that there is a positive association between the variables? what is the p value? interpret.
Answers: 2
question
Computers and Technology, 24.06.2019 18:00
Why is a multiview sketch drawinf different from other sketches like isometric, two point, and oblique
Answers: 1
You know the right answer?
Write a small c program which holds the locations of items on a shelving unit. specifically, your pr...
Questions
question
Mathematics, 28.08.2021 19:20
Questions on the website: 13722363