Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 230 Bytes

File metadata and controls

12 lines (9 loc) · 230 Bytes

Rectangle area calculator

given dimensions

length = 5 # cm width = 2 # cm

calculate area

area = length * width

display result

print("The area of the rectangle is:", area, "cm²") The area of the rectangle is 10 cm²