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
<h3>
Answer: 80 meters</h3>
This is an isosceles triangle. The dashed line is the height which is perpendicular to the base 120. The height is always perpendicular to the base. The dashed line cuts the base into two equal pieces (this only works for isosceles triangles when you cut at the vertex like this).
So we have two smaller triangles each with a base of 60 and a height of x. Focus on one of the right triangles and use the pythagorean theorem to solve for x.
a^2 + b^2 = c^2
x^2 + (60)^2 = (100)^2
x^2 + 3600 = 10000
x^2 = 10000 - 3600
x^2 = 6400
x = sqrt(6400)
x = 80
Each smaller right triangle has side lengths of 60, 80, 100
Note the ratio 60:80:100 reduces to 3:4:5. A 3-4-5 right triangle is a very common pythagorean primitive.
Answer:
7
Step-by-step explanation:
Just multiply all numbers together.
Plz give me brainliest
Answer:
28 cm^2
Step-by-step explanation:
a^+21^2=36^2
a^2+441=1225
a=28
Its C cause the y intercept is -5