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
difference between engineering and architecture are.
A engineer is a person whose job involves designing and building engines, machines, roads, bridges ,etc .
While architect design buildings only.
Answer: (C) Response controls
Explanation:
According to the given question, the response control is not the necessary element while handling the users or customer data as compared to all the other given options that is individual participation, data minimization and the purpose specification.
- The response control is basically used for exchange the data or any information in an organization but the main disadvantage is that they share all the response and information as they not wait for the request from the users.
- The all the three other given options expect response control are the important element for handling the customer data as it helps in maintaining the Personal information.
Therefore, Option (C) is correct answer.
no longer returns an error but your math seems to have something wrong with it, always returns 0
Console.WriteLine("Enter a percentage here");
int Percent = int.Parse(Console.ReadLine());
Console.WriteLine("Enter your number here");
int Number = int.Parse(Console.ReadLine());
int result = Percent / 100 * Number;
Answer:
Theorize a group of signals that will possibly produce this type of behavior and align the signals with the behaviors.
Explanation: