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
Number of returns = 47
Number of returns that contain errors = 5
Number of returns that does not contain error = 47 - 5 = 42
P(selecting none that contains error in the unreplaced selection) = 42/47 x 41/46 x 40/45 = 68880 / 97290 = 0.708
option C is the correct answer.
Answer:
No
Step-by-step explanation:
=2•2•2=8
=3•3=9
8≠9
Answer:
a2 (10x10) + b2 (4x4) = c2 (100+16)
Answer: √116
Reversing the clauses of an "if-then" statement only sometimes makes the new statement true, so it isn't true or false. For example, reversing the clauses of "if 1=x, then x=1" makes the new statement true, but reversing the clauses of "if x=2, then |x|=2" doesn't.