What was given:
Marked price: 39 dollars
Selling price: 31 dollars
Discount: ???
First step
Subtract the post-discount price from the pre-discount price.
31-39=-8
Second step
Divide this new number by the pre-discount price.
-8/39=-0.20512820512
Third step:
Multiply the resultant number by 100.
-0.20512820512×100= -20.512820512
Fourth step
Round the number
-20.512820512 → -20.5
Answer:
The discount was %20.5 off
I hoped I solved your question, if I did not you can tell me and I would be more than glad to fix it ૮ ˶ᵔ ᵕ ᵔ˶ ა