This is a programming assignment, and it requires you to write the pseudocode for a program that solves the following problem:

The user is prompted to enter an integer from 1 to 1000. When the user enters the integer, the program uses a repetition control structure to validate the integer is within the proper range; otherwise, the prompt is continuously redisplayed to the user until an integer in the proper range is entered.

If the integer is odd, the program uses a repetition control structure to display the next five consecutive odd integers to the user. If the integer is even, the program uses a repetition control structure to display the next five consecutive even integers to the user.

    • 12 years ago
    PSEUDOCODE SOLUTION
    NOT RATED

    Purchase the answer to view it

    • pseudocode.docx