Get reliable answers to your questions at Westonci.ca, where our knowledgeable community is always ready to help. Explore a wealth of knowledge from professionals across various disciplines on our comprehensive Q&A platform. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

This algorithm requires you to find the perimeter of 12 different squares.

Create the algorithm to prompt the user to enter the length of one side of a square.

The algorithm should calculate the perimeter of the square and display the result.

The algorithm must allow this to be repeated for all 12 squares.


Sagot :

Answer:

BEGIN

SET count = 1

WHILE count <= 12 THEN

     INPUT length

     perimeter = length * length

     PRINT perimeter

END WHILE

END

Explanation:

You can also set count to 0 and in while loop use count < 12 to loop just 12 times just as above

Thank you for choosing our platform. We're dedicated to providing the best answers for all your questions. Visit us again. We appreciate your time. Please revisit us for more reliable answers to any questions you may have. We're glad you visited Westonci.ca. Return anytime for updated answers from our knowledgeable team.