Today I completed the “Sum arrays” kata on Codewars! I started by making a for loop that runs through the contents of a given array. Then I defined a sum variable that adds all of the values together. Here is the final code!
Today I completed the “Sum arrays” kata on Codewars! I started by making a for loop that runs through the contents of a given array. Then I defined a sum variable that adds all of the values together. Here is the final code!