Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.

Commit 75b5b66

Browse files
committed
Minor fixes
1 parent 688617e commit 75b5b66

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

Module3.ipynb

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,24 +73,25 @@
7373
" 6. Large Drink - $1.75\n",
7474
" 7. Salad - $3.75\n",
7575
"\n",
76-
"Create a program to randomly generate the orders of each customer as a string of numbers (corresponding\n",
77-
"to the item) and calculate the cost of the order. For example, if the generated string is 5712335, the\n",
78-
"program should understand that the customer has ordered 1 burger, 1 portion of nuggets, 2 portions of\n",
79-
"fries, 2 medium drinks and 1 salad. It should then compute the cost ($17.50). The final cost is calculated\n",
80-
"after considering discounts for combo offers and adding 18% GST.\n",
76+
"Create a program to randomly generate the orders of each customer as a string of numbers\n",
77+
"(corresponding to the item) and calculate the cost of the order. For example, if the generated\n",
78+
"string is 5712335, the program should understand that the customer has ordered 1 burger, 1 \n",
79+
"portion of nuggets, 2 portions of fries, 2 medium drinks and 1 salad. It should then compute the\n",
80+
"cost ($17.50). The final cost is calculated after considering discounts for combo offers and\n",
81+
"adding 18% GST.\n",
8182
"\n",
8283
"The combo offers are:\n",
8384
"A) 1 Burger + 1 Portion of Fries + 1 Drink -> 20% discount\n",
8485
"B) 1 Burger + 1 Portion of Nuggets + 1 Salad + 1 Drink -> 35% discount\n",
8586
"\n",
86-
"The final cost of the 5712335 order is $15.69. The profit gained each day has to be recorded for one month\n",
87-
"(October) and plotted for analysis.\n",
87+
"The final cost of the 5712335 order is $15.69. The profit gained each day has to be recorded for\n",
88+
"one month (October) and plotted for analysis.\n",
8889
"\n",
8990
"Note:\n",
90-
" - There will be at least 20 customers and not more than 50 customers per day. Each customer orders at\n",
91-
" least 3 items and not more than 7 items.\n",
92-
" - If there is a possibility of availing multiple combo offers in an order, the program should select the\n",
93-
" offer with maximum discount.\n",
91+
" - There will be at least 20 customers and not more than 50 customers per day. Each customer\n",
92+
" orders at least 3 items and not more than 7 items.\n",
93+
" - If there is a possibility of availing multiple combo offers in an order, the program\n",
94+
" should select the offer with maximum discount.\n",
9495
"\"\"\""
9596
]
9697
},

0 commit comments

Comments
 (0)