Kotlinlearncs.online LogoJava
Return to List

Solve: Array Snippet Sum

Created By: Geoffrey Challen
/ Version: 2021.2.0

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.

Related Lessons

Stuck? You may find these lessons helpful: