You are viewing a single comment's thread. Return to all comments →
Same in Erlang, I used
case abs(N rem 2) of 1 -> true; 0 -> false end.
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 →
Same in Erlang, I used