228k views
5 votes
The dimensions (width and length) of room1 have been read into two variables : width1 and length1 . The dimensions of room2 have been read into two other variables : width2 and length2 . Write a single expression whose value is the total area of the two rooms. (width1length1) (width2length2)

User Dreams
by
5.5k points

1 Answer

7 votes

Answer:

Total area of the two rooms = (width1length1) + (width2length2)

Explanation:

The area of the rectangular shape is given by = Length * breadth

Therefore the area of the two rooms can be calculated using the above formula when the variables lengths and widths are given.

Area 1= Area of the first room = length * breadth= (width1length1)

Area 2=Area of the second room = length * breadth= (width2length2)

Total area of the two rooms = Area1 + Area 2

= (width1length1) + (width2length2)

User Ale Sequeira
by
4.3k points