Step 1: Charges:
Sn has $+4$ and each oxide ion has $-2$.
Step 2: Balance:
To cancel $+4$ we need two oxide ions: $(+4) + 2(-2) = 0$.
So one Sn atom pairs with two O atoms: $\text{SnO}_2$. Option D, $\text{SnO}$, is the tin(II) oxide with only one oxygen.
Final Answer:
The formula is $\text{SnO}_2$, option (B).
\[ \boxed{\text{SnO}_2} \]