Explore Westonci.ca, the top Q&A platform where your questions are answered by professionals and enthusiasts alike. Connect with professionals ready to provide precise answers to your questions on our comprehensive Q&A platform. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

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