You are viewing a single comment's thread. Return to all comments →
Haskell recursive :)
f (h:t) = x*h + f t where x=mod h 2 f _ = 0
Seems like cookies are disabled on this browser, please enable them to open this website
Sum of Odd Elements
You are viewing a single comment's thread. Return to all comments →
Haskell recursive :)