- 1

In a one- dimensional array consisting of n real elements, calculate:

The sum of elements located between the first and last negative elements. Fill with zeros all elements that do not exceed one

13th Apr 2022, 11:14 AM
Gulnur
3 Answers
+ 2
Gulnur , should the sum include the first and the last negative elements?
13th Apr 2022, 4:51 PM
Lothar
Lothar - avatar
0
Lothar yes, please help me
13th Apr 2022, 4:57 PM
Gulnur