first use pseudocode to create the logic for a program that accepts user input for several numbers. The user will be allowed to continually input numbers until a 0 (zero) is entered. After the user enters a zero, the program will display the sum and the average of the numbers.
Something like
Sum = 0
Average = 0
Count = 0
Do
Print "Enter a number: "
Read Number
If Number ISNOT 0 Then
Sum = Sum + Number
Count = Count + 1
EndIf
While Number ISNOT 0
'
' Calculate average here and print it and the sum
'
Note: This is for guidance, please do not submit it as your own work.