The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
| Â | -2down votefavorite |
Here are the instructions: The Jumpin' Java Bean coffee shop charges $2.00 for a cup of coffee and offers the add-ins shown in the table at the end of the lab. You must use a two-dimensional array for the add-ins. Design the logic and write a C program that allows a user to enter ordered add-ins, by number not name, allow for multiple add-ons and a sentinal value to stop the add-on prompts. After each item, display its price or the message "Sorry, we do not carry that item" as output. After all items have been entered, display the total price for the order. Keep the program running for other customers until told to stop. I am having a lot of trouble with the declarations and add-ons (really everything in general), I was hoping you guys could give me some feedback. Here is what I have so far: #include |
-----------