Let $T$ be a right-angled triangle in the plane whose side lengths are in a geometric progression. Let $n(T)$ denote the number of sides of $T$ that have integer lengths. Then the maximum value of $n(T)$ over all such $T$ is\\
(A) 0\\
(B) 1\\
(C) 2\\
(D) 3