Jack and Jill shared the cost of renting a cottage that costs $5 an hour. If they rented it for eight hours, how much did each friend pay? Let's think step by step and output the final answer after "####".
user
The total cost of renting the cottage for 8 hours is $5 x 8 = $<<5*8=40>>40.
So, each friend pay $40/2 = $<<40/2=20>>20 each.
#### 20
Jack and Jill shared the cost of renting a cottage that costs $5 an hour. If they rented it for eight hours, how much did each friend pay?
train