In a certain code language, ‘ONION’ is coded as 201 and ‘POTATO’ is coded as 261. How will ‘MANGO’ be coded in that language?
Show answer & explanation
Correct answer: C
Explanation
The correct answer is option 3 i.e. 150.
The logic used here is:
‘ONION’ is coded as 201 and ‘POTATO’ is coded as 261
ONION = (15 + 14 + 9 + 15 + 14) × 3 = 201
POTATO = (16 + 15 + 20 + 1 + 20 + 15) × 3 = 261
Similarly;
Code for the word MANGO:
MANGO = (13 + 1 + 14 + 7 + 15) × 3 = 150
Hence, option 3 is the correct answer.