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 149 views
1 answer 141 views
1 answer 166 views
1 answer 139 views
139 views asked Dec 9, 2022 by avibootz
1 answer 195 views
195 views asked Oct 20, 2022 by avibootz
1 answer 170 views
1 answer 183 views
...