subject

Instructions: Write a program that calculates the amount of ingredients needed for various flavors of cheesecake. CheeseCakeV1 folder. CheeseCakeTesterV1 folder. Create a 07.02 Assignment project in the Mod07 Assignments folder.
Carefully read the instructions before you attempt the assignment.
You will benefit from writing a pseudocode algorithm and a class diagram before you actually start writing code.
Use the CheeseCakeV1.java and CheeseCakeTesterV1.java files provided.
The program should be written in OOP format. An ArrayList filled with objects of the CheeseCake class is needed as part of the design.
Initialize all private instance variables in the provided constructor shown below.
Your program should include the following methods:
public void calcTotalServings()
public void calcCreamCheese()
public void calcSugar()
public void calcVanila()
Values to be used in the calculations can be reviewed in the Background Information section below.
Add records for at least six cheesecakes to the ArrayList. A sample set of values could be: Blueberry, 4. This represents 4 blueberry flavored cheesecakes.
Print the results in a user-friendly format (see expected output).
Background Information:
Cheesecakes are a very versatile dessert! Making a "base batter" affords you the opportunity to make a variety of cake "flavors" by either changing toppings or mixing the extra ingredient in with the batter. Some unusual combinations are quite tasty.
A basic 9-inch cheesecake serves 16 people and has the following ingredients:
32 ounces of cream cheese
1/3 cup of sugar
1 teaspoon of Vanilla flavoring
Before you try to write any calculation statements, make sure you can reproduce with a calculator the results shown in the expected output.
Expected Output: When your program runs correctly, you should see output similar to the following screenshot:
All of it should be in java


Instructions: Write a program that calculates the amount of ingredients needed for various flavors

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
What is the largest decimal number that can be represented by a binary number with 4 place values? (remember, each place in a binary number has a value of a power of 2, starting in the ones place with 20.)
Answers: 3
question
Computers and Technology, 22.06.2019 03:30
Which group on the home tab allows you to add shapes to a powerpoint slide?
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Choose the correct citation for the case which established the "minimum contacts" test for a court's jurisdiction in a case. select one: a. brown v. board of education of topeka, 347 u.s. 483 (1954). b. international shoe co. v. washington, 326 u.s. 310 (1945) c. haynes v. gore, 531 u.s. 98 (2000). d. international shoe co. v. washington, 14 u.s. code 336.
Answers: 1
question
Computers and Technology, 25.06.2019 00:00
One difference of input method between most desktop computers and most tablets is the memory the touch screen the speech recognition
Answers: 1
You know the right answer?
Instructions: Write a program that calculates the amount of ingredients needed for various flavors o...
Questions
question
Computers and Technology, 21.10.2020 21:01
question
Social Studies, 21.10.2020 21:01
Questions on the website: 13722362