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 240 views
1 answer 225 views
1 answer 249 views
1 answer 227 views
227 views asked Dec 9, 2022 by avibootz
1 answer 297 views
297 views asked Oct 20, 2022 by avibootz
1 answer 267 views
1 answer 279 views
...