You are viewing a single comment's thread. Return to all comments →
Erlang Solution:
read()-> case io:fread("","~d") of eof -> ok; {ok,[N]} -> io:format("~p~n",[abs(N)]), read() end. main() -> read().
Seems like cookies are disabled on this browser, please enable them to open this website
Update List
You are viewing a single comment's thread. Return to all comments →
Erlang Solution: