How to add two numbers in Elixir

1 Answer

0 votes
x = 10
y = 25
z = x + y

IO.puts "Sum of #{x} and #{y} is #{z}"




"""
run:

Sum of 10 and 25 is 35

"""

 



answered Dec 10, 2022 by avibootz

Related questions

2 answers 234 views
1 answer 218 views
1 answer 240 views
1 answer 221 views
221 views asked Dec 9, 2022 by avibootz
1 answer 289 views
289 views asked Oct 20, 2022 by avibootz
1 answer 262 views
1 answer 269 views
...