Question: Please help java Prompt the user for two numbers for ( Include a prompt ) : Price per square inch of the pizza as a

Please help java
Prompt the user for two numbers for (Include a prompt) :
Price per square inch of the pizza as a double
(Possible Prompt: What is the price per square inch? )
The Sale Tax Rate as a double
(Possible Prompt: What is the tax rate as a floating-point number? )
Store the values appropriately.
Calculate the cost of:
A 10 inch side diameter pizza
A 12 inch side diameter pizza
A 14 inch side diameter pizza
Note: Store these values appropriately
For each pizza:
Printout the price (to two decimals)
Sample Run
What is the tax rate as a floating-point number? 10.4
What is the price per square inch? 0.25
10 Pizza: $21.68
12 Pizza: $31.21
14 Pizza: $42.49

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!