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