Starbucks has taken customer orders as shown in breakfast.txt file which is in CSV format. The first
Fantastic news! We've Found the answer you've been seeking!
Question:
Starbucks has taken customer orders as shown in breakfast.txt file which is in CSV format. The first value in each row is customer name, followed by names of items they have ordered. For example, Sam has ordered Coffee and Banana cake. Note that a customer may order one or more items.
You need a program that produces list of al l items (see Fig.2), list of customers with their ordered items (see Fig. 3), and a reversed list of items with the names of customers who ordered that item (see Fig.4).
Important: 1. All text is case-sensitive. 'Coffee' is different from 'coffee' 2. Data in the file has white spaces between words.
Related Book For
Introduction to Operations Research
ISBN: 978-1259162985
10th edition
Authors: Frederick S. Hillier, Gerald J. Lieberman
Posted Date: