Answer:
Following are the program in the Python Programming Language.
#declare variables and initialize to 0
s=0
n=0
avg=0
#set the infinite while loop
while(True):
#get input from the user
score=input()
#set if statement to break loop
if(score =="stop"):
break
#otherwise, perform calculation
else:
n+= 1
s=s+ int(score)
avg= s/n
#print average of the input
print ('average: ',avg)
<u>Output</u>:
58
96
34
15
stop
average: 50.75
Explanation:
<u>Following are the description of the program</u>.
- Firstly, set three variable that is 's' for sum, 'n' for count and 'avg' for average and initialize them to 0.
- Set the infinite while loop and inside it, set variable 'score' that get input from the user then, set the if conditional statement for break the loop, otherwise we calculate the sum of the user input and calculate its average.
- Finally, we print the result with message.
What’s the word? There is no word here?
Answer:
False
Explanation:
The definition for the If-Then-Else structure is as follows:
IF (<em>boolean_condition</em>)
THEN (<em>commands_for_true</em>)
ELSE (<em>commands_for_false</em>)
When there is an ELSE sentence, its commands are to be executed whenever previous conditions where not evaluated as true
.
The actions that one need todo or perform FIRST is to backup the hard drive.
<h3>What causes a SMART error?</h3>
A composition of bad blocks can be a tool that can lead to a SMART error, or when the drive of the system's temperature is known to have gotten too high as a result of poor ventilation or other environmental factors.
Note that The actions that one need todo or perform FIRST is to backup the hard drive. because by doing so, one can be able to retrieve information back.
Hence the answer is correct.
Learn more about S.M.A.R.T. error from
brainly.com/question/26985946
#SPJ1
Trump. Getty/ Sara D. ...
David Bowie. Jo Hale/ Getty Images. ...
Olympics. David Ramos/Getty Images. ...
Slither.io. Slither.io. ...
Pokémon Go. Reuters. ...
Hurricane Matthew. Joe Raedle/Getty Images. ...
Prince. Jonathan Daniel/Getty Images. ...
Powerball. Justin Sullivan/Getty Images. It was a year of massive, million-dollar Powerball drawings.