So I dont know what's wrong with my code. I have to do this task for school:
If you are buying more than 5 things, butless than 20 - you get 5% off. If you are buying 10 and more things you get 10% off.
Write a program, which would count how much you need to pay for products. 'n' is for price and 'q' is for quantity.