asked 195k 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. submit

1 Answer

5 votes
Let's denote width1 with a and length1 with b. Then, the area of this room is
A_(1) = a*b
Let's denote width2 with c and length2 with d. Then, the area of the second room is
A_(2) = c*d
The total area of the rooms is
A=A_(1)+A_(2)=a*b+c*d
answered
User Vikram Kumar
by
8.1k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.