develop a Menu for Computer Shop and payment system using Python. The application allows users to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
develop a Menu for Computer Shop and payment system using Python. The application allows users to online order computer. Customer can view list of products, place orders and view the final bill electronically using the application. The followings are the required specifications: - Part 1 1. Given the following menu of a Computer Shop: Lenovo G505 - $350.00 (excl. GST) Acer Chrome Book $279,00 (excl. GST) Asus PhonePad $282.00 (excl. GST) 2. Membership discount is 5% of the extended price above Delivery charge: $80 (excl GST) Delivery charge waived for purchase of $1000 and above (before GST and discount) GST is 7% on amount 3. Write a Python code to calculate the amount of payment due. Your program should prompt user to select item, enter quantity required and whether there is membership. Your program should print out a receipt (example the receipt for Lenovo G505 with membership discount) as follows when the customer check-out/place order. RECEIPT Product Quantity Price Member Discount Delivery Charge GST: Total Due : Lenovo G505 : 2 : $ 700.00 : $ 35.00 : $ 80.00 : $ 52.15 : $ 797.15 Part 2(Arduino Integration) 1. When a customer inputs an ODD number, you should light up a single red LED. When the customer inputs an EVEN number, the green LED will light up. 2. When the customers finalizes, check-out/place order, the servo motor will rotate 180 degree. The starting position should be in 0 degree. AutoSave File Off Page 1 of 1 Home Insert Design Layout References Mailings Review View Help PROTECTED VIEW Be careful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. 0 words pusedocode Protected View - Saved Type here to search 1. Show Café Menu 2. Input menu item 3. Input quantity of item 4. Input any extra item if needed 5. Input quantity of extra item if needed 6. If total item cost over $10, 5% discount Search 7. Membership? 8. If have membership +15% discount else no discount 9. Display total cost after discount pre GST 10. Calculate GST amount which is 7% 11. Show GST amount 12. Show total cost after GST is added 100 Enable Editing NATASHA KWAN ZI LIN Focus W .. NK Share (4) ENG Comments 7:58 pm 20/7/2020 X + 100% develop a Menu for Computer Shop and payment system using Python. The application allows users to online order computer. Customer can view list of products, place orders and view the final bill electronically using the application. The followings are the required specifications: - Part 1 1. Given the following menu of a Computer Shop: Lenovo G505 - $350.00 (excl. GST) Acer Chrome Book $279,00 (excl. GST) Asus PhonePad $282.00 (excl. GST) 2. Membership discount is 5% of the extended price above Delivery charge: $80 (excl GST) Delivery charge waived for purchase of $1000 and above (before GST and discount) GST is 7% on amount 3. Write a Python code to calculate the amount of payment due. Your program should prompt user to select item, enter quantity required and whether there is membership. Your program should print out a receipt (example the receipt for Lenovo G505 with membership discount) as follows when the customer check-out/place order. RECEIPT Product Quantity Price Member Discount Delivery Charge GST: Total Due : Lenovo G505 : 2 : $ 700.00 : $ 35.00 : $ 80.00 : $ 52.15 : $ 797.15 Part 2(Arduino Integration) 1. When a customer inputs an ODD number, you should light up a single red LED. When the customer inputs an EVEN number, the green LED will light up. 2. When the customers finalizes, check-out/place order, the servo motor will rotate 180 degree. The starting position should be in 0 degree. AutoSave File Off Page 1 of 1 Home Insert Design Layout References Mailings Review View Help PROTECTED VIEW Be careful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. 0 words pusedocode Protected View - Saved Type here to search 1. Show Café Menu 2. Input menu item 3. Input quantity of item 4. Input any extra item if needed 5. Input quantity of extra item if needed 6. If total item cost over $10, 5% discount Search 7. Membership? 8. If have membership +15% discount else no discount 9. Display total cost after discount pre GST 10. Calculate GST amount which is 7% 11. Show GST amount 12. Show total cost after GST is added 100 Enable Editing NATASHA KWAN ZI LIN Focus W .. NK Share (4) ENG Comments 7:58 pm 20/7/2020 X + 100%
Expert Answer:
Answer rating: 100% (QA)
Python Code class ComputerShop def initself selfproducts Lenovo G505 35000 Acer Chrome Book 27900 Asus PhonePad 28200 selfmembershipdiscount 005 selfdeliverycharge 8000 selfdeliverychargewaived 100000 ... View the full answer
Related Book For
Management Accounting Information for Decision-Making and Strategy Execution
ISBN: 978-0137024971
6th Edition
Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young
Posted Date:
Students also viewed these programming questions
-
Compare and contrast standard error and margin of error.
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Googles ease of use and superior search results have propelled the search engine to its num- ber one status, ousting the early dominance of competitors such as WebCrawler and Infos- eek. Even later...
-
Rand Medical manufactures lithotripters. Lithotripsy uses shock waves instead of surgery to eliminate kidney stones. Physicians' Leasing purchased a lithotripter from Rand for $2,000,000 and leased...
-
There are two different substances that contain a carbon-carbon double bond and have the formula C4H8. Draw them, and tell how they differ.
-
Suppose that {v1, v2, vn} is a linearly independent set of vectors in Rn. Show that if A is an n ( n non-singular matrix, then {Av1, Av2, Ayn} is linearly independent.
-
Is the line integral of the magnetic field along the closed path in Figure P28.36 positive, negative, or zero? The direction of integration is shown with arrows on the path. Data from Figure P28.36...
-
(a) What annual income would Jasmine need for retirement? (b) What would her annual expected Social Security benefit be? (c) Jasmine expects to receive $500 per month from her defined-benefit pension...
-
(a) Explain the following terms as used in international finance: (i) Floating rate notes (FRNs). (1 mark) (ii) Forfaiting. (1 mark) (iii) Crowd funding. (1 mark) (iv) Green bond. (1 mark) (b) One of...
-
A pipe carrying steam through a section of a factory vibrates violently when the driving pump hits a speed of 300 rpm. (See Figure P5.34.) In an attempt to design an absorber, a trial 9-kg absorber...
-
Finance Lease At the beginning of the year, Cazenovia, Inc. entered into a five-year lease for equipment that was valued at $95,000. The company will be required to make annual lease payments of...
-
We cannot ship our fine steaks and hamburgers c.o.d. Your order was not accompanied by payment, so we are not shipping it. We have it ready, though, and will rush it to your home if you call us with...
-
When Procter & Gamble launched its Pampers brand in Japan, the diaper package confused and disturbed customers. As in the United States, the package featured the picture of a stork delivering a baby....
-
You are happy to receive a large order from Finn Valentino at 24-Hour Fitness gym. This order includes two Olympic Benches (at $349 each), three Stamina Power Towers (at $249 each), three sets of...
-
We are pleased by your interest in our firm, but we are unable to extend an employment offer to you at this time. Revise the above sentence so that the bad news is de-emphasized in a dependent clause...
-
Nanette was new to her job as administrative assistant at the Barefoot Resort & Golf in Myrtle Beach, South Carolina. Alone in the office one morning, she answered a phone call from Chas, who said he...
-
Use the following information to answer the next two questions. NBA basketball teams spend a considerable amount of money to attract the top players in the league. Highly successful teams typically...
-
Use of the contraceptive Depo Provera appears to triple women's risk of infection with chlamydia and gonorrhea , a study reports today. An estimated 20 million to 30 million women worldwide use Depo...
-
How is overhead cost estimated for individual jobs?
-
What is the profitability measure most widely used to develop the target profit margin under target costing?
-
A home services company offers renovations, as well as heating, air conditioning, and plumbing services, to its customers. Imagine that you are in the process of computing the income for the...
-
Identify something you own, perhaps even something you still use regularly. a. Give a list of at least six reasons why you might consider replacing the identified item. b. Identify at least two...
-
A company owns a 6-year-old gear hobber that has a book value of \($60,000.\) The present market value of the hobber is \($80,000.Anew\) gear hobber can be purchased for \($450,000.\) Using an...
-
Ten reasons why companies use equipment long after replacements would be justified economically. In many cases, these reasons do not apply just to companies; rather, they apply to us as individuals....
Study smarter with the SolutionInn App