Question: Problem 2 ( 40 points) - Write a program . Write a Program using GTK GUI Louise is famous in her town for making chili.

Problem 2 ( 40 points) - Write a program . Write a Program using GTK GUI

Louise is famous in her town for making chili. Every day, she cook s a certain amount (each batch is 4 cups) and she reads in a file with customer information . To save on costs, she uses Starbucks cups (given to her by the local Starbucks) to serve the chili.

Notes: - You should have a minimum of 2 classes (you decide which classes and how many )

- The program should read in a file in the following format: Sample file: Natassa,Grande < - Natassa is the customer name, Grande is the Starbucks cup size Demy ,Tall Elena,Short

- The program should ask how many batches she will make. If she runs o ut of chili before all customer orders have been met, there should be an option to make more chili to meet demand - After an order has been met, the amount of chili left should somehow be indicated. In my sample run, as long as there is more than a certain amount, Still got lots of chili! is output to screen. If there is less than this amount, Not much chili left! is output - You should account for at least 4 different Starbucks cup s izes

- There should be an option between orders to take a break or continue. Taking a break can be interpreted as you would like. Possible Sample Run 1 (your program does not have to match the following exactly, but should have the same functionality) : -- Welcome Louise -- Checking todays customers...done! How many batches of your famous chili are you making today? 1 Starting orders... -- Customer 1: Natassa s order is Grande. Order served. Still got lots of chili! Continue with orders or take a break? continue -- Customer 2: Demy s order is Tall. Order served. Not much chili left! Continue with orders or take a break? break Ok. Press enter to continue when you are finished with your break. -- Customer 3: Elena s order is Short. Sorry, not enough chil i. Would you like to make another batch or quit? quit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!