find the average,maximum,minimum and sum of three numbers given by user.

2 answers

get numbers

add to get sum
avg = sum/3
update max and min as the list is read in
34556