Question:  Each chocolate bar in a box cost $3. If a box had 9 bars total and Wendy sold all but 3 bars, how much money would she have made? 

Solution program:
answer=(3.0*(9.0-3.0))
print(answer)

Answer: 18