Ok so I gotta know since this was not addressed in the video.
In the example in the beginning of the exercise he used “double” as the example of an array.
However in the exercise as he is coding, after we have done this he uses the following
Why is this the case, and why was not this clarified in this exercise?? It is stuff like this that breaks my brain when trying to understand the logic of the code. Things are shown one way and then in the example it is done a completely different way. I would appreciate the clarification :D.