170k views
5 votes
Algorithm to calculate the area of a square.​

1 Answer

5 votes

Answer:

length = int(input("Enter a length "))

width = int(input("Enter a width "))

area = length * width

print("The area is " + area)

User Anton Kedrov
by
2.7k points