C++ I have two questions
Question 1 : There is an array a [20] of float numbers, Enter number in the array. Find the sum of negative number.

Question 2 : Enter 10 integer numbers in the array a [10]. Find the sum of positive numbers.

This question can you help me. plaese
C++ I have two questions
===

Question 1 : There is an array a [20] of float numbers, Enter number in the array. Find the sum of negative number.

Question 2 : Enter 10 integer numbers in the array a [10]. Find the sum of positive numbers.

This question can you help me. plaese