You are on page 1of 1

1.

Ask for and accept the length


and width of a pool.

Start

Algorithm: pool_area

Print “Please enter length and width of


Print “Please enter length pool”
and width of pool” Input pool_area

End

Input pool_area

End

2. Calculate and print the length of


rope required to cordon off the
pool.

Algorithm: Rope
Start
Print “length of rope

Rope_length = pool_perimeter

Print “length of
rope”

Rope_length = pool_perimeter

End

You might also like