Pseudo-code
To find average, min and max among a list.
sum ? count ? 0 { sum = sum of numbers;
count = how many numbers are entered? }
min ? ? { min to hold the smallest value eventually }
max ? ? { max to hold the largest value eventually }
if num < min then min ? num
if num > max then max ? num