Solving hackerank Challenges PHP
simpleSumArray Challenge solution PHP
The first line contains an integer, n, denoting the size of the array. The second line contains n space-separated integers representing the array's elements. Print the sum of the array's elements as a single integer.