Calculate the discount
We have a list of different items along with their discount percentage and we want to know how much the final price of each product is after considering the discount.
Write a program that gets the product price and the percentage of the discount, and prints the final price and discount value at the output.
Program must continue until the user has not entered 0
gheymat mahsool: 10000000
Darsad Takhfif: 20
gheymat nahaei = 8000000
Takhfif = 2000000