Answer:
The basic layout would be
Function name and in brackets its perimeter values
The while inside declared a variable
Then and the perimeter values and divide by local variable
And end function
I have also labled the local and gobal variables in the image above if you are confuse please ask away i answer them in the comments
1.6m questions
2.0m answers