Pizzacost application | Computer Science homework help

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Order a Similar Paper HERE Order a Different Paper HERE

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