Pizza Pies charges $12 for a medium pizza and an additional $0.50 for each topping. Write an equation to represent the total cost, C, of a medium pizza with t toppings. Then identify the independent and dependent variables in this situation.
C = 12t + 0.5
C = 0.5t + 12
t = 12C + 0.5
t = 12 + 0.5C