Your change from 50 if you spend y rand
To calculate the change you would receive from spending y rand, you need to subtract y from the amount you started with, which in this case is 50. The formula would look like this:
Change = 50 - y
Let's say you spent 30 rand, the calculation would be:
Change = 50 - 30
Change = 20
So, if you spend 30 rand, you will receive 20 rand in change.