Write a program that prints the temperature closest to 0 among input data. If two numbers are equally close to zero, positive integer has to be considered closest to zero (for instance, if the temperatures are -5 and 5, then display 5). Display 0 (zero) if no temperatures are provided. Otherwise, display the temperature closest to 0.
If available in Hex, the package can be installed
by adding elixir_coding_games to your list of dependencies in mix.exs:
def deps do
[
{:elixir_coding_games, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elixir_coding_games.