Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Name the class BoxMeasure Prompt user for the dimensions of a box (three prompts length, width, height in inches) Get user inputs with Scanner method
Name the class BoxMeasure Prompt user for the dimensions of a box (three prompts length, width, height in inches) Get user inputs with Scanner method .nextDouble() Print out the volume and surface area of the box (format outputs to 1 decimal place) Test program with length =18.25, width =12.5, height =8.5 Submit .java file (attach) and the run output (paste in text) Sample output --jGRASP exec: java BoxMeasure Enter the length: 18.25 Enter the width: 12.5 Enter the height: 8.5 Volume and Surface Area The box volume is: 1939.1 cubic inches and the surface area is: 979.0 square inches -jGRASP: operation complete
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