We would apply the fundamental counting principle which states that the number of ways in which multiple events can occur is the product of the number of possible outcomes for each event together.
From the information given,
She can choose from 7 pairs of pants. This means that she has 7 ways of picking 7 pairs of pants.
She can choose from 7 t-shirts. This means that there are 7 possible outcomes of choosing a t shirt.
She can choose from 4 sweaters or hoodies. This means that there are 4 possible outcomes of choosing a sweater.
She can choose from 5 shoes. This means that there are 5 possible outcomes of choosing a pair of shoes
Thus, the number of different outfits that Madelyn have to choose from is
7 x 7 x 4 x 5
= 980 different outfits