Answer:
The program in Python is as follows:
n = int(input("Number of inputs: "))
total = 0; product = 1
for i in range(n):
num = int(input(": "))
if num%2 == 0:
total+=num
else:
product*=num
print("Sum of even: ",total)
print("Product of odd: ",product)
Explanation:
This prompts the user for the number of inputs, n
n = int(input("Number of inputs: "))
This initializes sum (total) to 0 and products to 1
total = 0; product = 1
This iterates through n
for i in range(n):
This gets the inputs
num = int(input(": "))
If input is even, calculate the sum
<em> if num%2 == 0:</em>
<em> total+=num</em>
If otherwise, calculate the product
<em> else:</em>
<em> product*=num</em>
Print the required outputs
<em>print("Sum of even: ",total)</em>
<em>print("Product of odd: ",product)</em>
<em />
Answer:
I believe it would be airplane mode:)
Explanation:
A VPN connects you to wifi in a another part of the country or world, hotspot connects others to your celluar when on, tethering is when internet connects to your phone. usually costs $ to do. airplane mode is the only thing left.
Have a great day (or night!)
Answer:
speed and efficiency
Explanation:
There are two main advantages that a top-down design has and these are speed and efficiency. Since decisions are made by only a handful of individuals at the top, there are fewer people to argue their own ideas and points of view as well as fewer people to convince. This means that decisions are made fairly quickly. Once a decision is made the instructions are directed to every individual at each level so that everyone's tasks are perfectly aligned with the company's goals as decided from the top.
An algorithm is a set of directions for carrying out a task. Sounds about right
True because printers, which require paper, are becoming more expensive. A paperless society has the advantage of being cheaper in this aspect.