import java.io.*;
import java.math.*;
import java.text.*;
import java.util.*;
import java.util.regex.*;
public class Solution {
/*
* Complete the simpleArraySum function below.
*/
static int simpleArraySum(int[] ar) {
int sum=0;
for(int i=0;i
Subscribe to:
Post Comments (Atom)
0 Response to "Given an array of integers, find the sum of its elements."
Post a Comment