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 235 views
1 answer 220 views
1 answer 245 views
1 answer 222 views
222 views asked Dec 9, 2022 by avibootz
1 answer 293 views
293 views asked Oct 20, 2022 by avibootz
1 answer 265 views
1 answer 277 views
...