Recap Challenge #1
Lesson 14 of 16 in Coddy's Strings and Arrays in Java course.
Challenge
EasyWrite a function named sigma that gets an array of floats and returns the sum of all its elements.
Try it yourself
class Sigma {
public static float sigma(float[] nums) {
// Write code here
}
}