Start
Declare variable numberNames
Read the number of names
Create array names[]
for i = 0 to numberNames step 1
Read the last name
Add name to the array names
End for
Array.Sort(names)
for i = 0 to numberNames step 1
Display names[i]
end for
Stop
Comments
Leave a comment