[E-7] Write a function that prints the elements in an array of doubles. See the above for example output.
[E-7]