.pyAl Shams supermarket is a largest shopping center in Oman for electronic items and home appliance.They want to create invoice for their customer after they supplying the goods. Write a Python...


discount_<studentid>.py<br>Al Shams supermarket is a largest shopping center in Oman for electronic items and home appliance.<br>They want to create invoice for their customer after they supplying the goods. Write a Python program<br>to ask the user to input the purchase amount, customer type ('O': Online or 'F': Offline) for 10<br>customers and do the following for each customer using loop.<br>Calculate and display the discount for each customer according to the following table.<br>Customer<br>Purchase Amount<br>Discount<br>Турes<br>Purchase Amount < 100<br>100 s Purchase Amount < 200<br>200 s Purchase Amount<br>Purchase Amount < 100<br>Purchase Amount >= 100<br>Calculate and display the total amount for each customer according to the following formula<br>5% of Purchase Amount<br>10% of Purchase Amount<br>15% of Purchase Amount<br>5% of Purchase Amount<br>10% of Purchase Amount<br>Online<br>Customer<br>Offline<br>Customer<br>a)Calculate and display the sales tax for each customer based on the criteria given in the below table.<br>Total Amount<br>Total Amount < 150<br>150 s Total Amount <400<br>400 s Total Amount<br>Sales Tax<br>1% of Total Amount<br>2% of Total Amount<br>3% of Total Amount<br>b) Calculate and display the net purchase amount for each customer according to the following<br>formula<br>Net Purchase amount= Total Amount + Sales Tax<br>c) Calculate and display average net purchase amount of online customers.<br>

Extracted text: discount_.py Al Shams supermarket is a largest shopping center in Oman for electronic items and home appliance. They want to create invoice for their customer after they supplying the goods. Write a Python program to ask the user to input the purchase amount, customer type ('O': Online or 'F': Offline) for 10 customers and do the following for each customer using loop. Calculate and display the discount for each customer according to the following table. Customer Purchase Amount Discount Турes Purchase Amount < 100="" 100="" s="" purchase="" amount="">< 200="" 200="" s="" purchase="" amount="" purchase="" amount="">< 100="" purchase="" amount="">= 100 Calculate and display the total amount for each customer according to the following formula 5% of Purchase Amount 10% of Purchase Amount 15% of Purchase Amount 5% of Purchase Amount 10% of Purchase Amount Online Customer Offline Customer a)Calculate and display the sales tax for each customer based on the criteria given in the below table. Total Amount Total Amount < 150="" 150="" s="" total="" amount=""><400 400 s total amount sales tax 1% of total amount 2% of total amount 3% of total amount b) calculate and display the net purchase amount for each customer according to the following formula net purchase amount= total amount + sales tax c) calculate and display average net purchase amount of online customers. 400="" s="" total="" amount="" sales="" tax="" 1%="" of="" total="" amount="" 2%="" of="" total="" amount="" 3%="" of="" total="" amount="" b)="" calculate="" and="" display="" the="" net="" purchase="" amount="" for="" each="" customer="" according="" to="" the="" following="" formula="" net="" purchase="" amount="Total" amount="" +="" sales="" tax="" c)="" calculate="" and="" display="" average="" net="" purchase="" amount="" of="" online="">
Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here