Step 1: Understanding the Concept
A compound with ions that each contain nitrogen can show two different oxidation states for nitrogen.
Step 2: Ammonium Nitrate
In \(\text{NH}_4^{+}\): \(x + 4(+1) = +1\), so \(x = -3\).
In \(\text{NO}_3^{-}\): \(x + 3(-2) = -1\), so \(x = +5\).
Step 3: Other Options
In \(\text{N}_2\text{H}_4\) each nitrogen is \(-2\). In urea each nitrogen is \(-3\). Both show a single state.
Step 4: Compare the options
Nitrogen shows \(-3\) and \(+5\) in \(\text{NH}_4\text{NO}_3\), option (A).
Final Answer:
Ammonium nitrate has nitrogen in two oxidation states, -3 and +5.
\[ \boxed{\text{(A) }\text{NH}_{4}\text{NO}_{3}} \]