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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!