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 15:00
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
question
Computers and Technology, 23.06.2019 13:30
Stops: using the information learned in this course, explain three things you will not do when driving. a. b. c. explain why you will not do these things when driving. starts: using the information learned in this course, explain three things you will do when driving. a. b. c. explain why you will do these particular things when driving. explain one thing you will stop doing as a passenger. explain one thing you will start doing as a passenger.
Answers: 3
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
You know the right answer?
Instructions: Write a program that calculates the amount of ingredients needed for various flavors o...
Questions
question
Physics, 26.01.2021 02:30
question
Mathematics, 26.01.2021 02:30