Array Sum
Easy📝 Description
Calculate sum of all elements in array
Input Format
List of numbers
Output Format
Sum of elements
Constraints
1 ≤ array.length ≤ 1000
🔍 Sample Input
[1, 2, 3, 4, 5]
✅ Sample Output
15
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run