Computer Science, asked by sanjanabanik10, 1 month ago

Write the algorithm to input 16 numbers in 2D array and print perfect numbers.​

Answers

Answered by Anonymous
4

Answer:

Input the number of elements of the array.

Input the array elements.

Initialize sum = 0.

Check if the array element is a perfect square.

If it is a perfect square, sum = sum + num.

Return sum.

Explanation:

Hope you liked the solution. please mark me as brainliest

Similar questions