Answer:
count_p = 0
count_n = 0
total = 0
while True:
number = int(input("Enter an integer, the input ends if it is 0: "))
if number == 0:
break
else:
total += number
if number > 0:
count_p += 1
elif number < 0:
count_n += 1
print("The number of positives is: " + str(count_p))
print("The number of negatives is: " + str(count_n))
print("The total is: " + str(total))
print("The average is: " + str(total / (count_p + count_n)))
Explanation:
Initialize the variables, count_p represens the number of positives, count_n represents the number of negatives, and total represents the total of the numbers
Create a while loop iterates until the user enters 0. If the number is not 0, then add it to the total. If the number is greater than 0, increase count_p by 1. If the number is smaller than 0, increase count_n by 1.
When the loop is done, print the count_p, count_n, total, and average
Answer:
Grid computing.
Explanation:
Grid computing is a study utilizing Immune Earth to test AIDS treatment because the following are the reasons that describe the answer is true about the scenario.
- Grid computing seems to be a scattered network with a vast amount for systems linked to handle a difficult issue.
- Systems can be linked straightly or through organized systems.
Other options are incorrect.
- Green computing is not the correct answer according to the scenario because the usage of systems and its energy is socially safe and economically sustainable.
- Trusted Computing is not the correct answer according to the scenario because it helps a part of information to show which os as well as program to be required to access this.
- Edge computing is not the correct answer according to the scenario because it optimizes web apps as well as software programs while getting computation back to the information base.
Answer:
A power supply tester is specifically designed to test DC voltage on most connectors coming from a PC power supply. A multimeter measures electrical properties such as voltage, amps, and resistance.
Answer:
my explanation is above my comment :)
Explanation: