Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
4
Task/User-input-Text/Elixir/user-input-text.elixir
Normal file
4
Task/User-input-Text/Elixir/user-input-text.elixir
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
a = IO.gets("Enter a string: ") |> String.strip
|
||||
b = IO.gets("Enter an integer: ") |> String.strip |> String.to_integer()
|
||||
IO.puts "String = #{a}"
|
||||
IO.puts "Integer = #{b}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue