Hi, basically I need some help with a code, I need to do a code with an unidemensional array that finds the large addition and the smallest one. For example: arr = [1,3,5,7,9]
The minimum addition is 1+3+5+7 = 16. And the maximum addition is 3+5+7+9 = 24.
And I need to dysplay it like this:
16 24
I have been trying for a while and can´t figured out.