(Solved):Design pseudocode for a program that allows a user to enter 12 numbers and then displays them in the reverse order of entry. Then modify the program so the user can enter any number of numbers up t… View Answer…

 

Question

Design pseudocode for a program that allows a user to enter 12 numbers and then displays them in the reverse order of entry. Then modify the program so the user can enter any number of numbers up to 12 until a sentinel value is entered. Provide an explanation for each step of the pseudocode.

 

EXPERT ANSWER

Part 1
Begin
  While counter < 12
    //Prompt user to enter numbers
    scan keyboard for integer
    //increment

Scroll to top