A, B and C went to the restaurant for dinner
The waiter wanted to know their jobs respectively, but the three only provided the following information: one of the three was an engineer, one was a professor and one was a doctor; C was older than the doctor, A has different age with the professor, and the professor was younger than B
A is the doctor, B is the engineer and C is the professor.