An electrician charges $40 to come to your house. She also chargers $50 for each hour that she works. The electrician charges a total of $190. How many hours did the electrician work at your house?
A.40x + 50 > 190
B.40 + 50x < 190
C.50x + 40 = 190
D.50x - 40 = 190