Loop & Bottle Homework

I tried making it a bit more complicated to help myself learn by figuring out a way that wasn't taught. Rather than just assigning each value individually I wanted it to automatically assign them, that way no matter how large the array was the next value would be 10 greater than the last. Though I was still getting an exception. 

Loop & Bottle Homework - image 1 - student project

So after watching some more of your videos, I figured out how to fix it.

Loop & Bottle Homework - image 2 - student project

I have finally finished the bottle with everything you asked for (I think), even though I needed a nudge in the right direction (which I'm very grateful about by the way). I also made it so that it wouldn't overflow or use water that it didn't have.