Am I on the right track with this write pseudocode to design
Am I on the right track with this? write pseudocode to design the logic for a program that allows a user to enter 12 numbers, and then displays the numbers in the reverse order of their entry.
start
Declarations
num index
num COUNT = 12
num list[COUNT] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
getReady()
while index < COUNT
getNumbers()
endwhile
finishUp()
stop
getReady()
index = 0
return
getNumbers()
output “Enter a number”, index
input numbers[index]
index = index + 1
return
finishUp()
output “The numbers in reverse order are: ”
while index > 0
index = index – 1
output numbers[index]
endwhile
return
Solution
Ya, You PSEUDO CODE is looking pretty good.
You have also divided diffenr modules of program in functions, that is ready good.
start
Declarations
num index
num COUNT = 12
num list[COUNT] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
getReady()
while index < COUNT
getNumbers()
endwhile
finishUp()
stop
getReady()
index = 0
return
getNumbers()
output “Enter a number”, index
input numbers[index]
index = index + 1
return
finishUp()
output “The numbers in reverse order are: ”
while index > 0
index = index – 1
output numbers[index]
endwhile
return

