Answer:

Step-by-step explanation:
The diameter of the semicircle is 16 feet.
He calculates that he needs to buy abut 25.12 feet of fencing.
To find amount of fencing we find the circumference of semicircle
Circumference of semicircle = 
Where d is the diameter of the circle
d= 16 given and value of pi is 3.14
Circumference of semicircle = 
=25.12 + 16 = 41.12 feet
Scott's calculation was wrong because he forgot to add the diameter d
Circumference of circle is half way of circle plus the diameter of circle.
Correct amount of fencing = 41.12 feet
The program is an illustration of loops
<h3>What are loops?</h3>
Loops are program statements that are used to perform repetition
<h3>The main program</h3>
The program written in Python, where comments are used to explain each line is as follows:
#This initializes sum to 0
summ = 0
#This gets input for the first number
num = int(input())
#This is repeated while num is not -1
while num!= -1:
#This calculates the sum
summ+=num
#This gets input for the num
num = int(input())
#This prints the sum
print(summ)
Read more about loops at:
brainly.com/question/16397886
Total cost = student cost + adult cost
t = 25s + 3(s+3)
t=28s+9
Sent a picture of the solution to the problem (s).