Bottle Homework(new edit)

0

Hey How are you doing these days? Im still fussing with the bottle project trying to work on my print out. I found code online to make an array seacher so I put that in there to locate the bottle by its name. If you look at my fill method you will see what I am trying to get for a printout with this method. The problem is that the method is part of the bottle class and cannot access the array from there. Any pointers as to how to make this work?

 

 https://pastebin.com/embed/kN1yyRQ9

Thanks Derek.