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