1. Write an pseudo code and flowchart
Find the average, maximum, minimum, and sum of the numbers given by the user.
INPUT numbers
FOR EACH number IN Number
Sum = ADD ALL numbers
PRINT Sum
Average = Sum / totalNumbers
PRINT average
max = First in numbers
FOR number in numbers
IF number > max
SWAP max with number
PRINT max
min = First in numbers
FOR number in numbers
IF number < min
SWAP min with number
PRINT min
Comments
Thank you guys respect
Leave a comment