1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
aksik [14]
3 years ago
13

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

Computers and Technology
1 answer:
Levart [38]3 years ago
5 0

Answer:all of it should be java

Explanation: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

You might be interested in
Print "Censored" if userInput contains the word "darn", else print userInput. End with newline. Ex: If userInput is "That darn c
Alisiya [41]

Answer:

The Java code is given below

Explanation:

import java.util.*;

public class CensoredWords {

public static void main(String args[]) {

Scanner scnr=new Scanner(System.in);

String userInput;

System.out.println("Enter String: ");

userInput=scnr.nextLine();

int res=userInput.indexOf("darn");

if(res == - 1) {

System.out.println(userInput);

} else {

System.out.println("Censored");

}

}

}

8 0
3 years ago
What can be used to help diagnose and fix computer hardware problems?
Klio2033 [76]

the answer is D which is system utilities

hope this helps and hope it isn't wrong

8 0
2 years ago
There are two activities on your schedule, which are: 1) install server in lab 2) move server into the data center. however, the
astra-53 [7]
Quality Assurance or testing.
4 0
4 years ago
How do you code a video game
soldi70 [24.7K]

Answer:

you go to coding website

3 0
3 years ago
What is Microsoft marketing ?
vaieri [72.5K]

Answer:

Microsoft Corporation's marketing mix is a showcase of how rapid innovation combines with effective approaches.

Explanation:

Microsoft's current marketing strategy is to drive its enterprise businesses by creating cloud-based solutions that will stick with consumers.

American multinational technology company with headquarters in Redmond, Washington. It develops, manufactures, licenses, supports, and sells computer software, consumer electronics, personal computers, and related services.

6 0
3 years ago
Other questions:
  • Legal counsel has notified the information security manager of a legal matter that will require the preservation of electronic r
    8·1 answer
  • One critique of determining the effectiveness of the psychodynamic perspective is that its theories are too vague to test. t/f
    14·2 answers
  • All spreadsheet formula should start with
    12·1 answer
  • A ___________ lists all possible packet switches and gives a next hop for each.
    12·1 answer
  • What is the correct method for moving a control file (assume you use PFILE)?
    14·1 answer
  • How many types of string types does python support?​
    13·1 answer
  • Which term is used to describe individuals who want to attack computers yet lack the knowledge of computers and networks needed
    12·1 answer
  • Explain the iterative nature of the database requirements collection, definition, and visualization process.
    14·1 answer
  • I really need help please help me
    6·1 answer
  • Trying to make the baseplate red and turn off can collide then the game waits 5 seconds and turns on can collide, making the bas
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!