How do you calculate discount in a program?

To calculate the discount amount, multiply the amount with discount percentage and divide it by 100 and then initialize it to a variable that hold the discount value say discount .

Sizin İçin Seçtik  What is the price of Sol?

Leave a Reply

Your email address will not be published. Required fields are marked *