Given that Rob has 4 shirts, 3 pairs of pants, and 2 pair of shoes.
Rob has 4 shirts, he can wear each with 3 different pairs of pants.
Thus,
Each of the combinations can be worn with 2 different pairs of shoes. Thus,
This implies that Rob can put his outfit together in 24 ways.