Operators
Math (+ - * / %), comparison (== != < >) and logical (&& || !) operators.
Simple enough for a 5-year-old to understand
Math operators
Division of two integers is an integer (7 / 2 = 3). At least one must be a Double for decimals.
print(7 + 3)print(7 / 2)print(7.0 / 2.0)print(7 % 2)🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: 3