Write the pseudocode for an application that accepts enter eight friends’ first names and displays them in alphabetical order

1 answer

there are lots of sort routines you can find online. So, this will accept an arbitrary number of names:

n=0
name="x"
while name ≠ ""
read name
if name≠"" then names[n++] = name
end while

snames = sort names,n

while n>0 print names[n--]
Similar Questions
    1. answers icon 2 answers
  1. I need to create a pseudocode for the follwing application:Write Java-like pseudocode to specify the logic for the following
    1. answers icon 0 answers
  2. Write pseudocodeProgram accepts a user's monthly pay, rent, and grocery bills and displays the amount available for spending
    1. answers icon 4 answers
    1. answers icon 0 answers
more similar questions