Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 floatingpoint number?
Store the values appropriately.
Calculate the cost of:
A inch side diameter pizza
A inch side diameter pizza
A 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 floatingpoint number?
What is the price per square inch?
Pizza: $
Pizza: $
Pizza: $
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started