\(\Rightarrow F_{\text {orce }}=\frac{G M_1 M_2}{r^2}\)
\(\because M_1\) and \(M_2\) are masses.
\(r=\) distance between \(M_1\) and \(m_2\).
\(G=\) Gravitational Constant.
\(\Rightarrow G =\frac{f r^2}{m_1 m_2} N - m ^2 / kg ^2\)
\(\Rightarrow G^{\prime}=\frac{f \times 10^5 \times r^2 \times 10^{-4}}{m_1 m_2 \times 10^{-6}} \text { dyre }- cm ^2 / g^2\)
\(\Rightarrow G^{\prime}=\frac{f r^2}{m_1 m_2} \times 10^7 \text { dyre }- cm ^2 / g^2 .\)
As it is a constant value. it does not depend on masses.
Also, \(G\) is Constant in all medium therefore, it is independent of medium.