If the price of one candy bar is $1.29, for every weekday we have a total of 5 candy bars, so the cost will be:
![\text{cost}=5\cdot1.29=6.45](https://img.qammunity.org/2023/formulas/mathematics/college/4vg6fd5mzygok4bkbx40mttjvxc0brd7xd.png)
In a month we have 30 days, and 5/7 of these days are weekdays, so the cost will be:
![\text{cost}=(30\cdot(5)/(7))\cdot1.29=27.64](https://img.qammunity.org/2023/formulas/mathematics/college/n762q884ls1i1r2c0dh9r5waj1zfv25u7w.png)
In a year we have 365 days, and 5/7 of these days are weekdays, so the cost will be:
![\text{cost}=(365\cdot(5)/(7))\cdot1.29=336.32](https://img.qammunity.org/2023/formulas/mathematics/college/qzbi4hnqlnodo5x9fmj4v2unttjny3jb1m.png)