Answer:
Your friend is wrong.
Step-by-step explanation:
Since we have that you spend c dollars for p identical pairs of pants. We can represent this using:
C = kP.
Where k is the price for one pair of pants whereby the amount of dollars you spend depends on the number of pants picked.
C is the dependent variable here, depending on P and P is independent. Therefore, you have only one independent variable which is P.