Computer Science, asked by amjithnarayan2006, 3 months ago

. Input sales amount. Find commission. If the amount is above Rs.100000 then

commission rate is 25% of the sales amount; otherwise 15%​

Answers

Answered by jai696
2

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

commission = lambda n: n * .25 if n > 100000 else n * .15

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

print(f"commission: {commission(amount)}")

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

Similar questions