Operators
Math (+ - * / div rem), comparison (== < >), and logic (and or not).
Simple enough for a 5-year-old to understand
Math operators
/ always returns a float. Integer division is done with div(a,b), and remainder with rem(a,b).
IO.puts(7 + 3)IO.puts(7 / 2)IO.puts(div(7, 2))IO.puts(rem(7, 2))🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: 3