Step 1: Understanding the Concept
For \(p\rightarrow q\), the contrapositive is \(\sim q\rightarrow\sim p\).
Step 2: Identify p and q
p: two numbers are not equal. q: their squares are not equal.
Step 3: Form the contrapositive
\(\sim q\): the squares are equal. \(\sim p\): the numbers are equal.
So: if the squares of two numbers are equal, then the numbers are equal.
Final Answer:
The contrapositive is: if the squares of two numbers are equal, then the numbers are equal.
\[ \boxed{\text{(C) }\text{If the squares of two numbers are equal, then the numbers are equal.}} \]