If the code for 'CAT' is 12, 15, 18 and the code for 'DOG' is 14, 17, 20, what is the code for 'BAD'?

Answer: C. 9, 11, 13
The letters B, A, and D correspond to the numbers 2, 1, and 4 respectively, adjusted by a consistent pattern observed in the previous codes.