Inputting arrays to find the average
Trying to learn how to do arrays but our teacher is away and theres no way any of us can figure this out. I have a pseudocode of how it should be written and thats all.
Any help would be appreciated.
Set totalHeight to zero
Set arrayElements to 11
DOWHILE index = 0 to arrayElements
Prompt user for height
totalHeight = totalHeight + height(index)
Compute averageHeight = totalHeight/arrayElements