If you spend exactly 920 pesos, how many pizzas can you buy at @160 and @120
Update 26 September
Blank asks Does yours work ok with:
Thanks for the alternate solution. Yes, my solution works for all (positive) integers. It uses repeat until rather than repeat 10 in the solution you supplied. If there are a large number of solutions, they will print off screen though.
en español in Spanish