Each of the walls of a room with square dimensions has been built with two pieces of sheetrock, a smaller one and a larger one. The length of all the smaller ones is the same and is stored in the variable small . Similarly, the length of all the larger ones is the same and is stored in the variable large . Write a single expression whose value is the total area of this room. DO NOT any method invocations.

Each of the walls of a room with square dimensions has been built with two pieces of sheetrock, a smaller one and a larger one. The length of all the smaller ones is the same and is stored in the variable small . Similarly, the length of all the larger ones is the same and is stored in the variable large . Write a single expression whose value is the total area of this room. DO NOT any method invocations.



Answer: (small + large) ** 2


Learn More :