Rainbow Deals - hours only!Up to 80% off on all courses and bundles.-Close
So you think you can count
Round and other functions
Revision and practice
25. Exercise 2


Good. Another one coming.


A healing potion costs 50 gold. For each character with an account balance of at least 100, calculate how many healing potions it can buy (column name potion_amount) and how much money it will have left as a result of that purchase (column change). Round the first column down to integers.