You are being contracted to lay flooring in a set of irregular apartments. Different apartments are different sizes, but they are all the same shape. Write a program to calculate the area of this floor plan. A sample run is included here. To get the value of pi, use math.pi. You will also need to use math.pow to perform an exponential operation.

Sample run:
Enter length of side A: 5
Enter length of side B: 2
Enter length of side C: 3
Enter length of side D: 3
The area of the room is 20.534291735288516
Attachments:
Answers
Answered by
2
Answer:
You are being contracted to lay flooring in a set of irregular apartments. Different apartments are different sizes, but they are all the same shape. Write a program to calculate the area of this floor plan. A sample run is included here. To get the value of pi, use math.pi. You will also need to use math.pow to perform an exponential operation.

Sample run:
Enter length of side A: 5
Enter length of side B: 2
Enter length of side C: 3
Enter length of side D: 3
The area of the room is 20.534291735288516
Similar questions
Computer Science,
2 months ago
Social Sciences,
2 months ago
Math,
5 months ago
English,
5 months ago
Math,
11 months ago
World Languages,
11 months ago