fb pixel

Sum of negative absolutes

Given 5 different elements, your task is to compute the sum of all negative absolute values of the elements.
Input
Output
4 -3.5 2 -4 1
-14.5
Explanation:
 
To check your solution you need to sign in
Sign in to continue