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:
102.8/4=25.7
I got it because I used a calculator
Step-by-step explanation:
Answer:
If 4 fish are randomly selected, what is the probability that the mean weight will be between 9.6 and 15.6 lb? Round your answer to four decimal places.
Answer:
90 inches tall
Step-by-step explanation:
5/6 of 12 is 10 so the blocks are 10 inches tall each 10x9 is 90