Question: Im attempting to code a Java program that computes the total surface area of a rectangular prism like the one below. There are six sides,
Im attempting to code a Java program that computes the total surface area of a rectangular prism like the one below. There are six sides, so the area of all sides has to be summed to get total area. I know the formula which is area = length x width; area = length x height; or area = width x height, depending on the side being calculated, but i need help coding the program. please help.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
