Answer:
Pseudocode is explained below
Explanation:
# Create a variable to count the numbers.
numberOfNumbers = 0
# Create a variable to store the sum of numbers.
sumOfNumbers = 0
# Create a constant to store the special numbers.
constant specialNumber = 222
# Start the loop.
while True:
{
# Prompt the user to enter a number.
num = input("Enter a number: ")
# Break the loop if the number is
# equal to the special number.
if num == 222:
{
break
}
# Otherwise, add the number in the current
# sum and increment the number of values.
else:
{
sumOfNumbers = sumOfNumbers + num
numberOfNumbers = numberOfNumbers + 1
}
}
# Display the values.
print("The number of numbers = ", numberOfNumbers)
print("The sum of numbers = ", sumOfNumbers)