sum() Example 1 sum() Example 1 This example defines an array [6,4,9,10,8] and then prints out the sum of those numbers.
This example defines an array [6,4,9,10,8] and then prints out the sum of those numbers.