In a certain code language, ‘sand is hot’ is written as ‘6 8 9’ and ‘grains are white sand’ is written as ‘4 3 9 2’. What is the code for ‘hot’ in that code language?
sand is hot ==> 6 8 9
grains are white sand ==> 4 3 9 2
In the first and second statements 'sand' is common. So the code for this will be '9'.
Now in the second statement 'is hot' is remaining which can be coded as '6 8'.
So the code for ‘hot’ in that code language is either '6' or '8'.
Create a FREE account and get: