Question: I need help with the following output with this java objects and classes coding. Would you like to filter the result by 1. Calories ,2.Total

I need help with the following output with this java objects and classes coding. Would you like to filter the result by 1. Calories ,2.Total fat.3.Sugar.4.View all items on menu, 5. Exit program

Enter your Choice(1-5): 4

Our menu items for today include: Caffe Misto, size='Short', calories=70, totalFat=2.0, sugar=5, price=$5.99

Vanilla Sweet Cream Cold Brew, size = 'Tall, calories=100, totalFat=6.0, sugar=12, price = $6.99

Caffe Mocha, size = 'Short', calories= 120, totalFat= 105.0, sugar=17, price = $3.99

Enter your Choice(1-5): 1.Enter Max calories, than got the options according to the entered calories

Enter your Choice(1-5): 2. Enter max total grams of fat, than got the options according to the entered calories

Enter your Choice(1-5): 3. Enter max grams of sugar , than got the options according to the entered caloriesI need help with the following output with this java objects and

At the end, at choice 5 the program will exit. Please help me with these outputs

Assignment 5: Coffee Shop - OOP Basics Hide Assignment Information Instructions Classes and Objects Introduction: Moonbucks Coffeehouse is looking to upgrade their computer systems. The system will allow a user to enter various drinks into the system, then display all the items or filter the items based on calories, fat, and sugar content. Requirements: - Part 1 - Create a Drink class with all the appropriate data fields, setters, getters, and constructors. - Make sure all data fields are private. - Part 2 - Create a program that prompts the user if they'd like to filter the menu by calories, fat, or sugar content, then displays the matching results

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!