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
Answer:
21.9
Step-by-step explanation:
circumference = pi x diameter
3.14 x 7 = 21.9
Answer:
30
Step-by-step explanation:
Find the lowest number divisible by both 6, 5, and 2.
To start, let's list off the numbers divisible by six, and see if we can check any of them off for 5. Since both 2 and 6 are even numbers, we know that if a number is divisible by 6, it's divisible by 2.
6 12 18 24 30 36 42 48 54 60
All of these numbers are divisible by two. Let's find the lowest one that is divisible by 5. We know this by either the umber ending in 5 or 0.
30 is the lowest number that is divisible by 2, 5, or 6.
Perpendicular means it’s opposite reciprocals for example : the slope is 2 then the perpendicular line’s slope would be -1/2 because it flips the number also makes it the opposite sign.
If it’s parallel then the slope would be the same
I hope that helps