Erin went to the amusement park and paid $7.00 just to get in. She also bought six cotton candies for herself and her five friends. She spent $31.00 total at the amusement park. Write a equation to find the cost of each cotton candy.

Step-by-step explanation:
$31.00 - $7.00
$24.00 ÷ 6
$4.00
each cotton candy was $4.00