IDNLearn.com is designed to help you find reliable answers quickly and easily. Ask anything and receive comprehensive, well-informed responses from our dedicated team of experts.

assignment 2: room area
programming python in Project Stem​


Sagot :

Answer:I love Python, very useful

Explanation:python is very easy and user friendly!

Answer:

side1 = float(input("Enter side A: "))

side2 = float(input("Enter side B: "))

side3 = float(input("Enter side C: "))

side4 = float(input("Enter side D: "))

side5 = float(input("Enter side E: "))

rect1 = (side1 * side2)

rect2 = (side4 - side2 - side5) * (side1 - side3)

tri = (side1 - side3) * side5 * 0.5

print("Room Area: " + str(rect1+ rect2+tri))

Explanation:

it adds all sides to make the area