|
From: | Kai Torben Ohlhus |
Subject: | Re: count and sum element negative in array |
Date: | Thu, 20 Sep 2018 10:29:01 +0200 |
example:
a=[-3,4,5,-8,-9]
i want to sum element negative :
3 + 8+ 9 =20
it's possible to do it with a function?
[Prev in Thread] | Current Thread | [Next in Thread] |