Calculate the discount
We have a list of different items along with their discount percent and we want to know how much the final price of each product is after considering the discount.
Write a program that receives the product price and the percentage of 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