Computer Science, asked by tanushreeghosh1983, 4 months ago

A shopkeeper announces two successive discounts 20% and 10% on purchasing of goods on the marked price. write a program to input marked price and calculate the selling price of an article. ​

Answers

Answered by shauryajhinkwan
2

Answer:

think Three Hundred as discount is 30%

Explanation:

Answered by jai696
2

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

def apply_discount(p):

initial_discount = p - (p * .2)

return initial_discount - (initial_discount *.1)

p = float(input("enter p: "))

print(f"selling price: {apply_discount(p)}")

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions