Question discussion

In a code language ‘POWER’ is coded as 72. Then how is ‘BORE’ coded in that code language?

145415Medium 1 reply 1,677 views

Discussion 1

0
CCommunity
Here, it follows a pattern of adding the position number for each alphabet as,

A = 1, B = 2,…., Z = 26 and then subtract the number of characters from the total number.

POWER = 16 + 15 + 23 + 5 + 18 – 5 = 72

Therefore, BORE = 2 + 15 + 18 + 5 – 4 = 36