Martha receives a daily allowance of $12. She decides to save half of this amount every day. In the first week she kept her commitment with the exception of one day when she saved only a quarter of this amount. How much has she saved at the end of this week? Let's think step by step and output the final answer after "####".
user
Half of $12 is (1/2)*$12 = $6
There are 7 days in a week so if she saved half every day except one then she saved half for 7-1 = <<7-1=6>>6 days
She saved $6 for 6 days for a total of $<<6*6=36>>36
A quarter of $12 is (1/4)*$12 = $<<12*1/4=3>>3
She saved a quarter once for a total savings of $3+$36 = $<<3+36=39>>39
#### 39
Martha receives a daily allowance of $12. She decides to save half of this amount every day. In the first week she kept her commitment with the exception of one day when she saved only a quarter of this amount. How much has she saved at the end of this week?
train