Operators
Math (+ - * / ÷ % ^), comparison (== != < >) and logic (&& || !).
Simple enough for a 5-year-old to understand
Math operators
/ always returns a decimal (7/2 = 3.5). For integer division, use div(a,b). ^ calculates powers.
println(7 + 3)println(7 / 2)println(div(7, 2))println(7 % 2)println(2 ^ 10)🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (2 left)
🎯 Expected output: 3