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:30
Melissa needs to add a topic to an email that she will send to her teacher. choose the name of the field where she should type her topic.
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Assume a class window with accessor method getwidth that accepts no parameters and returns an integer. assume further an array of 3 window elements named winarr, has been declared and initialized. write a sequence of statements that prints out the width of the widest window in the array.
Answers: 2
question
Computers and Technology, 24.06.2019 14:30
Alison is having a hard time at work because hee inbox is flooded with emails every day. some of these emails are unsolicited. some of other she don’t need. which action should she take to better manager her emails?
Answers: 1
You know the right answer?
Instructions: Write a program that calculates the amount of ingredients needed for various flavors o...
Questions
Questions on the website: 13722367