Answer:
The code solution is written in Python.
- positiveSum = 0
- negativeSum = 0
- num = int(input("Enter a number: "))
- while(num != 0):
- if(num > 0):
- positiveSum += num
- else:
- negativeSum += num
- num = int(input("Enter a number: "))
- print("Sum of positive number: " + str(positiveSum))
- print("Sum of negative number: " + str(negativeSum))
Explanation:
Firstly, we need to create two variables, <em>positiveSum</em> & <em>negativeSum</em>, to hold the running total of the positive and negative input numbers. (Line 1 - 2)
Next, use Python in-built method<em> input()</em> to prompt user for the first input number and assign it to variable <em>num</em>. (Line 4)
Create a <em>while-loop </em>by setting the condition as while input number is not equal to 0, the program shall positive to add the current input number to either variable<em> positiveSum</em> or <em>negativeSum</em>. (Line 6 -10) If the input number is bigger than zero, the current input number should be added to variable<em> positiveSum</em> else it should add to variable <em>negativeSum</em>.
Next, the program shall proceed to prompt user for the next input number. (Line 12)
The entire process is repeated until user enters zero to exit the while loop.
Lastly, display the total of positive and negative numbers. (Line 14 - 15)
A tool that can help you gather information about the processes running on a windows operating system is known as Microsoft system information (Msinfo32.exe).
<h3>What is an Operating system?</h3>
An Operating system may be defined as a type of computer program that can effectively maintain all sorts of information and application programs in a computer. It regulates computer hardware and software resources and furnishes common services for computer programs.
Window most commonly includes a tool which is known as Microsoft system information (Msinfo32.exe). This tool collects all kinds of information related to your computer and expresses an extensive visualization of your hardware, system components, and software environment, which you can utilize in order to diagnose your computer concerns.
Therefore, Microsoft system information (Msinfo32.exe) is a tool that can help you gather information about the processes running on a windows operating system.
To learn more about Microsoft System information, refer to the link:
brainly.com/question/24643423
#SPJ12
Answer:
Please see the attached picture for the complete answer.
Explanation:
Answer:Steps of the technological design process include: identify a problem, research the problem, generate possible solutions, select the best solution, create a model, test the model, refine and retest the model as needed, and communicate the final solution.
Explanation:
:)
The correct statements are:
- An object of the ActivationLayer class has a name attribute.
- print(FCLayer(42)) prints FullyConnectedLayer.
- When creating an object of the BaseLayer class, the name argument must be given.
<h3>What is Coding?</h3>
The term Computer coding is known to be seen as a kind of a tool that is often use in computer programming languages and it helps to give computers and machines a number of instructions on the things that need to be done or performed.
Note that in the code, the The correct statements are:
- An object of the ActivationLayer class has a name attribute.
- print(FCLayer(42)) prints FullyConnectedLayer.
- When creating an object of the BaseLayer class, the name argument must be given.
See full question below
Choose the 3 correct statements for the code below.
An object of the ActivationLayer class has a name attribute.
An object of the BaseLayer class has a size attribute.
print(FCLayer(42)) prints FullyConnectedLayer.
When creating an object of the ActivationLayer class, the size argument must be given.
When creating an object of the BaseLayer class, the name argument must be given.
Learn more about Coding from
brainly.com/question/22654163
#SPJ1