kennith stomps wrote:line 38 I am getting the error Type mismatch: cannot convert from String to MediaItem
what I am trying to do here is input a new media item into my item array.
Can I get some help with the proper way of doing this?
You have freedom to design your program however you want, provided that it meets the requirements
and follows good design principles.
I simply don't understand how I can create an array that stores all of media titles, and in the same memory space, store the name of who it was rented to, as well as the Boolean if it is currently rented out, and the date it was rented out. I code, and then I get so far, and get totally lost in my code, and do not know how to pass and access all of these things.
kennith stomps wrote:I go to run the program, if I choose menu option 1 (to add new item) it makes me input the title and format twice.
kennith stomps wrote:also, when the program outputs my title back to me, it is in hash form for some reason.
kennith stomps wrote:2nd way found online
Carey Brown wrote:That would allow you to print the MediaItem like this
However, it appears that all you want to do is print the title, and in that case it would be