Step 1: Condition.
It is given that \( n \) is a positive integer divisible by 6. Hence possible values are: \( 6, 12, 18, 24, 30, 36, \dots \).
Step 2: Remainder when divided by 12.
Dividing such numbers by 12, the possible remainders are either 0 or 6. Thus Quantity A can be 0 or 6.
Step 3: Remainder when divided by 18.
Dividing such numbers by 18, the possible remainders are 0, 6, or 12. Thus Quantity B can be 0, 6, or 12.
Step 4: Compare values.
- If \( n = 36 \), remainders are both 0 → Quantities equal.
- If \( n = 18 \), remainders are 6 and 0 → Quantity A>Quantity B.
- If \( n = 30 \), remainders are 6 and 12 → Quantity B>Quantity A.
Step 5: Conclusion.
Since all three cases (A greater, B greater, equal) are possible, the relationship cannot be determined.
\[
\boxed{\text{(D) The relationship cannot be determined.}}
\]