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 23:00
Suppose s, t, and w are strings that have already been created inside main. write a statement or statements, to be added to main, that will determine if the lengths of the three strings are in order by length, smallest to largest. that is, your code should determine if s is strictly shorter than t, and if t is strictly shorter than w. if these conditions hold your code should print (the boolean value) true. if not, your code should print false. (strictly means: no ties) example: if s, t, and w are "cat", "hats", and "skies" your code should print true - their lengths are 3-4-5; but if s, t, and w are "cats" "shirt", and "trust", then print false - their lengths are 4-5-5 enter your code in the box below
Answers: 2
question
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
You know the right answer?
Instructions: Write a program that calculates the amount of ingredients needed for various flavors o...
Questions
question
Mathematics, 08.07.2019 12:30
question
Mathematics, 08.07.2019 12:30
Questions on the website: 13722363