A student makes a 10.50 purchase at the bookstore with a $20.00 bill. The store has no bills and gives the change in quarters and fifty-cent pieces. There are 30 coins in all. How many of each kind are there?

8 fifty cent pieces, and 22 Quarters=$9.50 in change.