There are actually a couple of questions in here. I'll try to answer them in Python, which kind of looks like psuedocode already.
1. Design a loop that asks the user to enter a number. The loop should iterate 10 times and keep a running total of the numbers entered.
Here, we declare an empty array and ask for user input 10 times before printing a running total to the user's console.
<em>numbers = []
</em>
<em>for i in range(10):
</em>
<em> numbers.append(input("number: ")) </em>
<em>print(f"running total: { ', '.join(numbers) }")</em>
<em />
2. Design a program with a loop that lets the user enter a series of numbers. The user should enter -99 to signal the end of the series. After all the numbers have been entered, the program should display the largest and smallest numbers entered.
Here, we declare an empty array and ask for user input forever until the user types -99. Python makes it really easy to get the min/max of an array using built-in functions, but you could also loop through the numbers to find the smallest as well.
<em>numbers = []
</em>
<em>while True:
</em>
<em> n = int(input("number: "))
</em>
<em> if n == -99: </em>
<em> break
</em>
<em> numbers.append(n)
</em>
<em>print(f"largest number: { max(numbers) }")
</em>
<em>print(f"smallest number: { min(numbers) }") </em>
<em />