Math
posted by Bella .
A bank teller notices that he has 50 coins, all of which are 5 and 10 cent pieces. He finds the value of the coins is $3.90. How many of each coin does he have?

let the number of nickels be x
then the number of dimes would be 50x
then 5x + 10(50x) = 390
solve for x