Answer:
total = 0
while True:
number = float(input("Enter a number: "))
if number < 0:
break
total += number
print("The total of the positive numbers entered is", total)
Explanation:
*The code is in Python.
Initialize the total as 0
Create a while loop. Inside the loop:
Ask the user to enter a number. Check the number. If it is smaller than 0 (This means it is a negative number), stop the loop using break. Add the number to the total (cumulative sum). (This way your program keeps summing numbers until you enter a negative number)
When the loop is done, print the total
<h2>
Answer:</h2>
Reservations:
Option C: Set aside IP addresses so that they are assigned to specific devices
<h2>
</h2><h2>
Explanation:</h2>
While connecting to network, we face two options to assign IP addresses that are as follows:
- Static
- DHCP (Dynamic Host Configuration Protocol)
As obvious from the name, assigning IP addresses statically means that we have to create a IP address for the device being in the range ourselves.
Whereas in DHCP, the router assigns IPs to the devices dynamically.
Now reservation is a feature granted by the DHCP that allows a device to reserve its IP. So by this we mean, every time the first IP address from the pool will be assigned to reserved device.
<h2>I hope it will help you!</h2>
index fingers on F and J. middle fingers on K and D. ring fingers on L and S. pinkies on ; and A.