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
Write a Java program that prints out a 4x4 square (like the one below)
Sindrei [870]

public class 4by4Square

{

    public static void main(){

       System.out.println("xxxx \nx  x\nx  x\nxxxx");

    }

}

<h2><u>~CaptnCoderYankee</u></h2>
5 0
3 years ago
What is the use of consonant in QBASIC ? Answer me in short and easy answer.​
Digiron [165]

Answer:

See Explanation

Explanation:

I'll assume the question is about the use of constants in QBasic because consonants do not have any special function or usage in QBasic.

In simple terms: In QBasic, constants are used to represent elements that do not change in value during program execution.

Take for instance, you intend to use \pi in your program.

Its value is \pi = 3.142

So, 3.142 will always be a constant in your program. One of the ways it can be used in a program is:

10 LET PI = 3.142

<em>The above represents a numeric constant. QBasic also have string constants.</em>

3 0
3 years ago
Type the correct answer in the box. Spell all words correctly. Complete the sentence below that describes an open standard in vi
Anika [276]

Answer:

digital

Explanation:

Today, video production has become digital, and all playback devices work on the open standard known as digital technology.​

8 0
3 years ago
Calvin works as a graphic designer for an advertising company. He has to submit a large number of prints quickly because the dea
choli [55]

Answer:

The correct answer would be, Laser Printers.

Explanation:

There are a lot of printers that are used to print out a document, or file, or image, or anything you want on a paper. Printers are called the output device of the computer system as it is used to get the output from the computer.

The most important types of printers are Laser Printers, Inkjet Printers, Dot Matrix Printers, etc.

Laser printers are considered to be the fastest printers among all. These printers also give a high quality print out in just a blink of an eye. So these printers are used to print documents which are too lengthy and require a quick print out. So Laser printers will help Calvin in meeting his deadline.

6 0
3 years ago
HOW DO I DELETE A BRAINLY QUESTION?
Fantom [35]

Answer:

To delete a question you asked, click the arrow in the top right-hand corner of your question page and select Delete. If any answers have been added to your question, you'll have to request its deletion.Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • What's the best option if you can't show your PowerPoint presentation at all? A. Create PDF/XPS Document B. Prepare a Package Pr
    11·2 answers
  • What is the best way to improve an online search
    6·2 answers
  • The ____ contains the computer's "brain," the central processing unit (CPU).
    5·2 answers
  • Compose a program to examine the string "Hello, world!\n", and calculate the total decimal numeric value of all the characters i
    7·1 answer
  • What enables a website to recognize a computer as a return visitor (as opposed to a first-time visitor)?
    12·1 answer
  • )What is proceduralabstraction, and why is it important inComputer Science
    14·1 answer
  • What attracts attention and adds spatial depth to a two-dimensional design.
    9·1 answer
  • I need a pro help so no newbies just pro's thank you. I need help I has bean trying to help out with the scams links by putting
    10·1 answer
  • The wildcard character * (asterisk/start) and ? (question mark) are the same and can be use interchangeably.
    6·1 answer
  • Which statement about routers is !!!FALSE!!!
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!