In this scenario, the dollars spent to pay the dinner bill is the dependent variable, and the number of entrees ordered at dinner is the independent variable.
The reason for this is that the total bill typically depends on how many entrees (and possibly other items) you order. As you increase the number of entrees, the total amount you have to pay will change accordingly. In this way, the dollars spent is influenced by the number of entrees ordered.