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

Mortimer life insurance needs a program. a.) design a flowchart or pseudocode th

ID: 3567246 • Letter: M

Question

Mortimer life insurance needs a program. a.) design a flowchart or pseudocode that accepts one salesperson's id number and number of policies sold last month, and displays the high performer(more than 25 policies in a month). b.)a program that accepts salesperson data continuously until a sentinel value is entered and displays a list of high performers c.a program that acceprs salesperson data continuously until a sentinel value is entered and displays a list of salespeople who sold between 5 and 10 policies in the month

Explanation / Answer

start
Declarations
      num salesPersonID
     
      output”Enter the number of persons ”
      input numberOfpersons
       
while(count < numberOfpersons)
         output”Enter the ID of person ”
          input salesPersonID
          output”Enter number of policies”
          input policyCount

         if (policyCount > 25)
         output "salesPersonID is the high performer"

      end if
        end while
stop

-------------------------------------------------------------------------------------

start
Declarations
      num salesPersonID
      num highPerform = 0
      num storeNum
     
      output”Enter the number of persons ”
      input numberOfpersons
       
while(count < numberOfpersons)
         output”Enter the ID of person ”
          input salesPersonID
          output”Enter number of policies”
          input policyCount

         if (policyCount > highPerform)
           storeNum = salesPersonID
end if
        end while

      output "storeNum is the high performer"
stop

-------------------------------------------------------------------------------------

start
Declarations
      num salesPersonID
      num highPerform = 0
     
     
      output”Enter the number of persons ”
      input numberOfpersons
       
while(count < numberOfpersons)
         output”Enter the ID of person ”
          input salesPersonID
          output”Enter number of policies”
          input policyCount

         if (policyCount > 5 AND policyCount < 10)
           output "salesPersonID is the high performer"
end if
        end while     
stop

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