In a certain code if SCOTLAND is written as 12345678 , LOAN is written as 1435, LOTS is written as 8124 , DAN is written as 537 and SON is written as 458 , then what will be the code for ' C '?
Step-by-step Solution:
To find the code for 'C', we need to find the unique number assigned to each letter by comparing the given words and their codes.
The letters in SCOTLAND are {S,C,O,T,L,A,N,D} and their codes are a permutation of {1,2,3,4,5,6,7,8}.
We have found codes for S,O,T,L,A,N,D to be {8,4,2,1,3,5,7}.
The only letter left in SCOTLAND is 'C', and the only number left in the code set is '6'. Therefore, the code for 'C' is 6.