Skip to content

Program to find sum of elements in a given array Difficulty Level : Easy Last Updated : 17 Aug, 2021 Given an array of integers, find sum of its elements. Examples : Input : arr[] = {1, 2, 3} Output : 6 1 + 2 + 3 = 6 Input : arr[] = {15, 12, 13, 10} Output : 50

Notifications You must be signed in to change notification settings

Sinjini46/-sumOfArray

 
 

Repository files navigation

-sumOfArray

Program to find sum of elements in a given array.

Difficulty Level : Easy Last Updated : 04 Oct, 2021

Problem Statement: Given an array of integers, find sum of its elements.

Example 1 : Input : arr[] = {1, 2, 3} Output : 6

Explanation: 1 + 2 + 3 = 6

Example 2: Input : arr[] = {15, 12, 13, 10} Output : 50

About

Program to find sum of elements in a given array Difficulty Level : Easy Last Updated : 17 Aug, 2021 Given an array of integers, find sum of its elements. Examples : Input : arr[] = {1, 2, 3} Output : 6 1 + 2 + 3 = 6 Input : arr[] = {15, 12, 13, 10} Output : 50

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 40.5%
  • Java 34.9%
  • C++ 13.3%
  • Python 11.3%