Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create looping structure pseudocode that prompts the user for employee data; the

ID: 3624707 • Letter: C

Question

Create looping structure pseudocode that prompts the user for employee data; the application continues to accept data for new employees until the user enters 0 for an ID number to indicate the desire to quit. While the ID number is not zero, prompt the user for a value for each field in turn. Any time the user enters an invalid value, continue to reprompt the user for the same data. Continue with the next data item only when the previous item is valid, as follows:

1. An employee ID must be between 100 and 999 inclusive.
2. A zip code must not be greater than 99999.
3. An hourly pay rate must be between $6.00 and $25.00 inclusive.
4. The number of hours worked in a week cannot be negative or more than 70.
5. An insurance plan code must be 1 or 2.

Explanation / Answer

please rate - thanks

hope this is good, everyone does pseudo code differently


10: prompt for employee id
20: input imployee id
30: id = 0
         true: exit program
40: id<100 or id >999
              true: go to 10
50: prompt for zip code
60: input zip code
70: zipcode <10000 or zip code > 99999
           true: go to 50
80: prompt for hourly rate
90: input hourly rate
100:   hourly rate <6: 00 or hourly rate >25
          true: go to 80
110: prompt for hours worked
120: input hours worked
130: hours worked < 0 or hour worked > 70
             true: go to 110
140: prompt for insurance code
150: input insurance code
160: insurance code < 1 or insurance code >2
             true: go to 140
170: go to 10

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote