Answer:
Step-by-step explanation:
// Initialize variables
total = 0
counter = 1
// Loop to get 5 numbers
while counter <= 5 do
// Get input from user
input_number = input("Enter number " + counter + ": ")
// Convert input to a number
number = parseFloat(input_number)
// Add number to the total
total = total + number
// Increment counter
counter = counter + 1
end while
// Calculate the average
average = total / 5
// Output the result
print("The total is: " + total)
print("The average is: " + average)