Given, 50 % 15 = 70 and 23 % 20 = 6
The logic here is
$$\left(50-15\right)\times2=70$$
$$\left(23-20\right)\times2=6$$
The coded value is the product of difference of two numbers and 2.
Similarly,
$$\left(10-4\right)\times2=12$$
$$\therefore\ $$10 % 4 = 12
Hence, the correct answer is Option C
Create a FREE account and get: