Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help with this python assignment. And these are the sample run for references. Sales Management System for an Online Shop Case Study: Her/His Store

image text in transcribedimage text in transcribed

Need help with this python assignment.

And these are the sample run for references.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Sales Management System for an Online Shop Case Study: Her/His Store - Dienlat the ituvice for atietr nrder neino the fnilnurino temnlate. You are to create a Python program to manage the sales order of Her/His Store, an online shop that sells facial, beauty, body, and hair products. This shop just opened and only has 10 items for sale. You are to create your own items including pricing. l The program will prompt the user (i.e., customer) to choose the items for purchase, confirm order once finished shopping, and input other details (i.e., name, billing address, shipping address, contact number, payment method (e.g., credit card, e-wallet, FPX)). The user can choose to purchase multiple products for a single order. Use a loop to record multiple products for purchase in a single order. When the user presses without choosing any product, it means that there are no more details to record. Once all details have been input, the program will display the invoice with the total amount inclusive of tax and shipping fee. Note that this store only ships within Klang Valley. For orders Note: of at least RM100, shipping is free. Otherwise, a flat fee of RM5 is charged. a) The order date follows the format YYYY-MM-DD. b) The order number is the order date following by a 5-digit sequential number. Below illustrates an example of two orders received at the same time. Additionally, a sales tax of 10% is imposed on the purchase amount. Once the invoice has been First order issued for a completed order, the user has the choice to submit another order. Use a loop to record another order. Order Date: 2022-08-19 Order Number: 20220819-00001 Second order Order Date: 2022-08-19 Sequentially, the program should do the following: Order Number: 20220819-00002 - Display a welcome message with simple instructions about the program and the list of items for sale. - Prompt the user to choose the items for purchase. Assume quantity entered by user are The program should have the following features: integer values. - Input validations: Zero and negative values are not allowed for quantity. - Prompt the user to confirm order and displays total cost including tax and shipping fee. - Use proper loop statement to repetitively ask user to choose the items for purchase and - Prompt the user for billing and shipping information. Assume all orders are to be shipped confirm order. If order is not confirmed, repeat to add a new order. within the Klang Valley. Prompt user to check and confirm information. - Use the following functions that are allocated to the two students in a group: 1. Student A: welcome message - It displays a welcome message and simple instructions about the program including the list of items for sale. Pseudocode not required. purchase arder() - It prompts the user for the required data inputs. It also contains input validations (e.g., quantity can only take positive integers). Include the pseudocode in the Word report. confirm order() - It displays the items chosen for purchase with the total cost including tax and shipping fee. 2. Student B: billingNshipping infog - It prompts the user for billing and shipping information before the official invoice is issued. Include the pseudocode in the Word report. display inxoice - It displays the confirmed order with total payment amount and the shipping instructions. One invoice for each customer. Pseudocode not required. Documentation - Include comments in your code stating what each function does and explaining any complex sections of code - Include your name and student ID as comments within the code - Use meaningful variable names so that your code is to some extent self-documenting - Include screenshots of successful sample runs of your programs for all possible output Would you like to place another order ah? Press "Y" for Yes or to exit: Y Which item do you wish to purchase? Press to exit once you made up your damn mind. Enter item code: 1 Quantity: 0 Enter a positive non-zero integer lah for quantity. Quantity: 5 Enter a positive non-zero integer lah for quantity. Quantity: 5 You have added 5 MyCok's Bacon (5pcs) at RM 12.34 per unit to your cart. Enter item code: No such item for sale dei! or you have chosen to exit because you have finished shopping. Thank you. You have 1 items in your cart: NoItemDescription1MyCoksBacon(5pcs)Quantity5UnitPriceRM12.34TotalPriceRM61.70 Subtotal:Tax(108):ippingFee:Total:RMRMRMRM61.706.170.0061.70 Confirm your order or not?("Y" for Yes or "N" for No): V Thank you lah for finally confirming your order haiyo

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

1.. What are the potential ways to implement IMC?

Answered: 1 week ago

Question

3. Describe the strategic training and development process.

Answered: 1 week ago

Question

10. Microsoft Corporation

Answered: 1 week ago

Question

4. EMC Corporation

Answered: 1 week ago