Write a snippet of code (not a function) below that prints the sum of all the values in an array of double
values named values
which has been previously declared and initialized.
You should print only the sum and not generate any additional output.
Stuck? You may find these lessons helpful: