Step 1: Understanding the Concept
The atomic number is \(18+10+2=30\).
Step 2: Calculation
The element with \(Z=30\) is zinc (Zn).
Step 3: Compare the options
Cd has \(Z=48\), Hg has \(Z=80\), Co has \(Z=27\). So the answer is Zn, option (D).
Final Answer:
The element is zinc.
\[ \boxed{\text{(D) }\mathrm{Zn}} \]