Computer Science, asked by ridarajpoot57, 3 months ago

01 Write an algorithm to sum array A elements and array B elements​

Answers

Answered by SOUMYA916
1

can you elaborate the question


ridarajpoot57: yes
SOUMYA916: ok
Answered by Anonymous
0

Algorithm

  • Declare and initialize an array.
  • The variable sum will be used to calculate the sum of the elements. Initialize it to 0.
  • Loop through the array and add each element of array to variable sum as sum = sum + arr[i].
Similar questions