if you want to compare something of equality in an if statement use "==":if (Remainder == 10) Remainder = "A";