laiban123456 laiban123456
  • 02-07-2020
  • Computers and Technology
contestada

Q) write a code that reads a given array and calculates the SUM of its elements.

Respuesta :

Plus16463574585
Plus16463574585 Plus16463574585
  • 02-07-2020

Answer:

See the explanation below.

Explanation:

If don't know which language you are using, but the basic pseudo code for this problem will be:

variable sum = 0;

for ( i = 0;  i < array.length;  i ++) {

    sum += array[i];

}

print(sum);

Best Regard!

Answer Link

Otras preguntas

216.666 / 1- (1.0054)-120
İs it true? Help me pleaseeee
A library contains 60,000 books. 14,000 are on the subject of business, 22,000 are on healthcare and 12,000 on psychology and law. What percentage of the librar
For what values of x is the absolute value of x less than or equal to 1.5? (Hint: Substitute numbers into the inequality |x| ≤ 1.5 and see which numbers make th
Expand & Simplify (3x-3)^2 + (x+4)(x-1) Please help... I have no clue what I'm doing and it's due in tomorrow. Thanks :)
1) Write 3 equivalent fractions for 9/25
ibahagi ang mga larawan sa pagbigkas ng mga tunog​
MARKING AS BRAINLIEST!!!
Approximately 43 percentage of nursing homes are for-profit? A. True B. False​
A flagpole stands on the edge of vertical cliff. From a point 30 m away from the cliff, the angle of elevation of the top of the flagpole is 35° and that of the