Menu

(Solved) : Write Program 2d Array Represents Items Bookcase First Item Row Left Right Stored First Va Q37284538 . . .

Write a program that has a 2D array which represents items in abookcase. The first item in that

row (left to right) will be stored in the first value in thatarray. You may place any number of

items, in any order you choose, and have any number of rows anditems. Make sure that this

array uses the data type string and that each value is the nameof the item at that position. Then

look for the item (wallet, safe, maybe even book) where you hidsome of your money and print

out its position. If you didn’t hide any money in that bookshelfit should print out a message

saying so. Assume that you know the name of the item where themoney is hidden.

Sample output:

First row/shelf: “Bob’s mallet” “A Billy Joel CD” “A JustinBieber

CD” “A Bloc Party CD”

Second row/shelf: “My Xbox” “Halo 3” “Crackdown”“Borderlands”

I hid my money in “Halo 3” which is the 2nd item on the 2ndrow.

IN PYTHON

Expert Answer


Answer to Write a program that has a 2D array which represents items in a bookcase. The first item in that row (left to right) wil…

OR