The % sign means divide the two numbers and give us only the remainder.
Type: Posts; User: Starstreak
The % sign means divide the two numbers and give us only the remainder.
How does c = 3?
For clarity, rewrite the code without using shorthand (augmented operators).
int a = 1;
int b = 2;
int c = 3;
a = a + 5;
b = b * 4;