Design a python program for following scenario: (15 A new restaurant is opened in your area....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Design a python program for following scenario: (15 A new restaurant is opened in your area. The management wants to develop digital billing system. For this purposed, they ask you to develop python script for the same. The management provides you Item list and its price. Use python dictionary to save this data. Store the data in dictionary with Item_name as key and price as value. A customer can order from the given list of items in any quantity. You need to develop a python script which performed following tasks. I. Assume that item names in the given list are item1, item2, item3, item4, . ,item30. The price of cach item is in float. Write python code to generate this data and store in dictionary. (Use a random package of Page 1 of 2 CE661: Mobile Application Development Technologies python for this task). The price of the item must be in the range of 10.0 to 500.0 (Marks: 4] II. Calculate the billing amount for following orders individually and store them using appropriate data collection framework. [Marks: 4] Items ordered from Quantity Sr. No menu Item5 Item17 Order1: Item28 10 Item2 1 Item25 1 Order2: Item9 2 Item1 1 III. Display the bill information digitally on screen in properly readable format which should be shown as below for all the orders with complete details: [Marks: 7] Order ID: 0100001 Quantity Total Price Iteml price x 2 Item2 price x 5 Item name: Item5 2 Item17 5 Sum of all above price Total : [Figure: 1 Bill format] Order ID: Generate the Order ID randomly with first character is 'O' and remaining for remaining six character, generate the six digit long digits random number in the range of (0 to 999999). Design a python program for following scenario: (15 A new restaurant is opened in your area. The management wants to develop digital billing system. For this purposed, they ask you to develop python script for the same. The management provides you Item list and its price. Use python dictionary to save this data. Store the data in dictionary with Item_name as key and price as value. A customer can order from the given list of items in any quantity. You need to develop a python script which performed following tasks. I. Assume that item names in the given list are item1, item2, item3, item4, . ,item30. The price of cach item is in float. Write python code to generate this data and store in dictionary. (Use a random package of Page 1 of 2 CE661: Mobile Application Development Technologies python for this task). The price of the item must be in the range of 10.0 to 500.0 (Marks: 4] II. Calculate the billing amount for following orders individually and store them using appropriate data collection framework. [Marks: 4] Items ordered from Quantity Sr. No menu Item5 Item17 Order1: Item28 10 Item2 1 Item25 1 Order2: Item9 2 Item1 1 III. Display the bill information digitally on screen in properly readable format which should be shown as below for all the orders with complete details: [Marks: 7] Order ID: 0100001 Quantity Total Price Iteml price x 2 Item2 price x 5 Item name: Item5 2 Item17 5 Sum of all above price Total : [Figure: 1 Bill format] Order ID: Generate the Order ID randomly with first character is 'O' and remaining for remaining six character, generate the six digit long digits random number in the range of (0 to 999999).
Expert Answer:
Answer rating: 100% (QA)
Digital Billing System 1 Item name and Price as import random ... View the full answer
Related Book For
Principles of Information Systems
ISBN: 978-1133629665
11th edition
Authors: Ralph Stair, George Reynolds
Posted Date:
Students also viewed these computer engineering questions
-
Design a python program solution that prints smiley and frowny faces until the user quits. The user should see a menu like this: (S)miley (F)rowny (Q)uit Make the algorithm print either: A smiley...
-
X Question 8 QUESTION 8-FINANCE/QUALITY A company that manufactures industrial wind turbine units use EN8 mild steel tubing in their production. Their production figures and customer orders suggested...
-
Write a MATLAB program in a script file that calculate the average, standard deviation, and median of a list of grades as well as the number of grades on the list. The program asks the user (input...
-
Under which of the following circumstances would an auditor be most likely to intensify an challenging examination of a $500 imprest petty cash fund a. Reimbursement occurs twice each week. b. The...
-
Figure 16 displays a scatterplot that compares the mean lengths and mean heights of 51 types of dinosaurs. Let L be the mean length and H be the mean height, both in meters, of a dinosaur. a....
-
NTG Telecommunications, which was interested in purchasing a computer network for its office, received a promotional letter from IBM regarding IBMs PC Server 310, Small Business Solution, a computer...
-
Mr. Jenkins, this is typical question: Do you feel that I have treated you fairly in this interview?
-
After reading an article about activity-based costing in a trade journal for the furniture industry, Santana Rey wondered if it was time to critically analyze overhead costs at Business Solutions. In...
-
Imagine that you lend $5,000 to a friend at 7%, and say, "Pay me back when you get a job." Five years later, your friend gets a job and pays you back. Your friend assumed that you meant simple...
-
While James Craig and his former classmate Paul Dolittle both studied accounting at school, they ended up pursuing careers in professional cake decorating. Their company, Good to Eat (GTE),...
-
Here are comparative financial statement data for Sandhill Company and Wildhorse Company, two competitors. All data are as of December 31, 2022, and December 31, 2021. Net sales Cost of goods sold...
-
The potential impact of rater error on worker performance and organizational performance is vital to growth and development. Rater error can negatively impact the accuracy of performance and nullify...
-
What does this news talk about and how it is related to labor relations? https://www.cbc.ca/news/canada/ottawa/wage-demands-inflation-impact-psac-union-federal-strike-1.6725445 P
-
Julian and Tanya each contribute $50,000 cash to form the J&T Partnership on January 4, 20X1. Julian and Tanya share profits and losses in the ratio of 60% and 40%, respectively. During 20X1, the...
-
State of Economy Bust Boom State of Economy Roll Bust Boom Ross Calculate the standard deviations for Roll and Ross by filling in the following table: (A negative value should be indicated by a minus...
-
What is an evoked set? Why do marketers care about the evoked set? Similar to the in-class exercise, use a restaurant example to illustrate the term and explain to me the process for your evoked set.
-
B.4 Uniformly charged rod near a metal surface. An infinite, thin, uniformly charged rod (line charge density A) is placed parallel to a horizontal grounded metal plate a distance d above it. Point M...
-
Which one of the following anhydrous chloride is not obtained on direct heating of its hydrated chloride? (A) BaCl2 (B) CaClz (C) MgCl2 (D) SrCl2
-
Identify the basic components of an expert sys- tem and describe the role of each.
-
What is an eight-core processor? What advantages does it offer users over a single- core processor? Are there any potential disadvantages?
-
What is a computer-based information system? What are its components?
-
Provide an overview of the behavioral finance perspectives of risk.
-
Define the heuristic biases of representativeness, anchoring, and mental accounting.
-
List and explain some fundamental issues of behavioral finance.
Study smarter with the SolutionInn App