Jim Lewis, software developer at Technology Systems wants to update the details, such as name, address, and telephone number, of all the employees in its Payroll Application. For this, Jim needs to generate the address list of all the employees working in the organization. He decides to implement a function that will accept the name, address, and the telephone number from each employee and then print a list containing the details. He has written the following steps to perform the above task: 1. Start the function 2. Declare “Counter” as a numeric variable 3. Declare “Name”, “Address”, and “TelNo” as character variables 4. Let Counter= 1 5. Check the condition Is (Counter <= 30). If the condition is True, then a)Accept the Name value from the employee b)Accept the Address value from the employee c)Accept the TelNo value from the employee d)Display the Name, Address, and TelNo values on the computer screen e) Counter = Counter - 1 f)Again check the condition, Is (Counter <= 30). If this condition is true, repeat the steps from a to d. 6. If the condition, Is (Counter <= 30) is False, then end the function. However, these steps does not produce the required results. What should Jim do to accomplish the task?
A.
Jim needs to replace the step e and f with following steps: e. Counter = Counter + 1 f. Check the condition, Is (Counter <= 30). If this condition is true, repeat the steps from a to f.
B.
Jim needs to replace the step e and f with following steps: e. Counter = Counter + 1 f. Check the condition, Is (Counter >= 30). If this condition is true, repeat the steps from a to f.
C.
Jim needs to replace the step e and f with following steps: e. Counter = Counter - 1 f. Check the condition, Is (Counter = 30). If this condition is False, repeat the steps from a to f.
D.
Jim needs to replace the step e and f with following steps: e. Counter = Counter + 2 f. Check the condition, Is (Counter <= 30). If this condition is true, repeat the steps from d to f.