(follow the template below when writing the program) Write a JAVA procedural program for an artist who is creating art instillation “experiences” consisting of rooms totally full of balloons that people will walk around in. Different instillations will be in different sized rooms and different sized balloons so need different numbers of balloons to fill them. The salesperson will enter the length, width and height of the room in centimetres. Write separate methods to input each of these values (they may possibly call other general methods) and return the results. These three numbers are multiplied together to get the volume of the room. This should by then be converted to m3 (calculated by dividing the volume by 1,000,000). This is then divided by the volume taken up by each balloon in m3 as given by the user. Print out the final number of balloons to be ordered along with the intermediate results as in the examples below. The final answer should be given as an integer (rounded down) as below. - EXPLAIN HOW YOUR PROGRAM WORKS - Write a program that uses input instructions -Write a program that uses variables - Write a program that uses final variables - Write a program that uses arithmetic expressions - Write a program that is split in to methods at least one of which returns a result - Provide commenrted code with explanation in every step
(follow the template below when writing the program)
Write a JAVA procedural program for an artist who is creating art instillation “experiences” consisting of rooms totally full of balloons that people will walk around in. Different instillations will be in different sized rooms and different sized balloons so need different numbers of balloons to fill them. The salesperson will enter the length, width and height of the room in centimetres. Write separate methods to input each of these values (they may possibly call other general methods) and return the results. These three numbers are multiplied together to get the volume of the room. This should by then be converted to m3 (calculated by dividing the volume by 1,000,000). This is then divided by the volume taken up by each balloon in m3 as given by the user. Print out the final number of balloons to be ordered along with the intermediate results as in the examples below. The final answer should be given as an integer (rounded down) as below.
- EXPLAIN HOW YOUR PROGRAM WORKS
- Write a program that uses input instructions
-Write a program that uses variables
- Write a program that uses final variables
- Write a program that uses arithmetic expressions
- Write a program that is split in to methods at least one of which returns a result
- Provide commenrted code with explanation in every step
Step by step
Solved in 3 steps with 3 images