A shop will give discount of 10% if the cost of purchased quantity is more than 100
Ask user for quantity
Suppose, one unit will cost 100
Judge and print total cost for user

Solved
Show answers

Ask an AI advisor a question