Task 2 A food shop will give discount of 15% if the cost of purchased quantity is
Fantastic news! We've Found the answer you've been seeking!
Question:
Task 2
A food shop will give discount of 15% if the cost of purchased quantity is equal to or more than 1500 AED. No discount will be given for purchases less than 1500 AED.
Write a Python program using if-else statement that will ask the user for the quantity and the unit price of the food item. Calculate and display the original cost, the discounted amount, and the cost after discount (if no discount, then the discount field should show zero).
Task 2 Answer (Screenshot + program code)
Related Book For
Statistics Principles And Methods
ISBN: 9780470904114
7th Edition
Authors: Richard A. Johnson, Gouri K. Bhattacharyya
Posted Date: