How to make discounts to stay in the black?
On the one hand, a discount is an effective method of stimulating sales. On the other hand, it is a headache for the seller, who wants to earn, not lose income. We calculate the optimal size of the discount, so that everyone stays on the plus side