question: Peter purchased 20 popsicles at $0.25 each. He also purchased 4 ice cream bars at $0.50 each. How much did he pay in total in dollars?
answer: The popsicles cost 0.25*20=<<0.25*20=5>>5 dollars.
  The ice cream bars cost 0.5*4=<<0.5*4=2>>2 dollars.
  He paid 5+2=<<5+2=7>>7 dollars.
  #### 7