Fundamentals7 / 12
Up next

Numeric types

// integer division truncates; % is the remainder
int a = 7, b = 2;
Console.WriteLine($"{a + b} {a - b} {a * b}");
Console.WriteLine($"{a / b} {a % b} {Math.Pow(a, b)}");
What you're solving

int and double operators