lundi 20 septembre 2021

how to code for discount in if else question

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

Aucun commentaire:

Enregistrer un commentaire