PizzaCost Application

The cost of making a pizza at a local shop is as follows:

Labor cost is $0.75 per pizza, regardless of size.
Rent cost is $1.00 per pizza, regardless of size.
Materials is $0.05 * diameter * diameter, where diameter is measured in inches.
You will store the labor, rent, and size of the pizza as constants.

Formulas:

materials = .05 * diameter * diameter
pizzaCost = labor + rent + materials

Create a PizzaCost application that displays the cost of making the pizza based on a size stored in a variable. The application output should look similar to:

Enter the diameter of the pizza in inches: 16
The cost of making the pizza is: $14.55

    • 9 years ago
    the answer 100 % correct answer. in java
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      pizza.zip