In a certain code language, 'he is sick' is written as 'blue red pink', 'he wants apple' is written as 'green violet red', and 'apple is tasty' is written as 'blue green yellow'. How will 'tasty' be written in that language?
'he is sick' ==> 'blue red pink'
'he wants apple' ==>Â 'green violet red'
'apple is tasty' ==> 'blue green yellow'
In the first and second statements, 'he' is common. So the code for this will be 'red'.
In the second and third statements, 'apple' is common. So the code for this will be 'green'.
In the first and third statements, 'is' is common. So the code for this will be 'blue'.
Now in the third statement, 'tasty' is remaining which will be coded as 'yellow'.
So the 'tasty' will be written as 'yellow' in that language.
Create a FREE account and get: