Answer:
Honesty, integrity, empathy, acceptance, faith and confidence are examples or traits in humans. Some humans are honest some are integrous. some faithful and so on sorry if i'm wrong or my answer isn't what you needed
Explanation:
Answer:
Follows are the solution to this question:
Explanation:
The process ID is not static because this can't be used to identity, therefore, it includes excellent service providers like HTTP since it is allocated dynamically only to process whenever a process is initiated.
Sometimes its instance connectors are managed on numerous TSAPs. This can be implemented unless the process ID is being used as each procedure could have an identity.
Answer:
C. one_year_older('John', 27)
Explanation:
The correct call to the function one_year_older() is the option C which is one_year_older('John', 27). This is because in the definition of the function, it was defined with two parameters name and age, so when this function is invoked, the argument for name and age must be passed to it in the function call. Hence option C which passes a string John (as the first argument name) and an int 27 (as the second argument age)
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)