Answered step by step
Verified Expert Solution
Link Copied!

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,

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions

Question

A collection of attributes about a specific entity is a

Answered: 1 week ago

Question

find all matrices A (a) A = 13 (b) A + A = 213

Answered: 1 week ago