complex hex numbers in C [closed]

The remainder of a number divided by 3 equals to the sum of its digits modulo 3.

Once you calculate the remainders for the two numbers (not need to represent each number’s value), sum those. If result modulo 3 is zero, the sum of the number is a multiplication of 3.

Leave a Comment