'A # B' means 'A is brother of B'.
'A @ B' means 'A is the daughter of B'.
'A & B' means 'A is the husband of B'.
'A % B' means 'A is the wife of B'.
If W%D#G@B&M@I, then how is D related to M?
- AGrandson
- BGrandfather
- CFather
- DSon
Solution & Step-by-step Explanation
Let's break down the relationships step-by-step from the given code expression:
W%D⟹ W is the wife of D (D is a male).
D#G⟹ D is the brother of G.
G@B⟹ G is the daughter of B. Since D is G's brother, D is the son of B.
B&M⟹ B is the husband of M (So, M is the mother of D and G).
M@I⟹ M is the daughter of I.
We need to find how D is related to M:
From step 4, we directly know that B is the husband of M, and D is their son. Therefore, D is the son of M.
W%D⟹ W is the wife of D (D is a male).
D#G⟹ D is the brother of G.
G@B⟹ G is the daughter of B. Since D is G's brother, D is the son of B.
B&M⟹ B is the husband of M (So, M is the mother of D and G).
M@I⟹ M is the daughter of I.
We need to find how D is related to M:
From step 4, we directly know that B is the husband of M, and D is their son. Therefore, D is the son of M.