Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Java program by doing the following Establish three variables to hold the three measurements which are required to define a room, (length, width,
Write a Java program by doing the following Establish three variables to hold the three measurements which are required to define a room, (length, width, height), as well as a fourth variable to hold the units that the measurements are being given in. . Set the values of each of the four variables to match that of a room that you are familiar with. . Calculate the total surface area of only the floor of the room defined by your chosen dimensions (Your formula must work with any values that you could assign your three dimension variables) . Calculate the total surface area of only the four walls of the room defined by your chosen dimensions (Your formula must work with any values that you could assign your three dimension variables) Display the surface area (in your units squared) of the floor of the room to the screen in a reasonable report format . Display the total surface area (in your units squared) of the four walls of the room to the screen in a reasonable report format Grading Performance Indicator Readability and documentation Use of variables Use of Arithmetic instructions Functional requirements Sample run(s) Given a length of 9.0 meters a width of 12.5 meters and a height of 8.25 meters The room's floor surface area is : 112.5 meters squared The room's walls total surface area is 354.75 meters squared
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