Th is chapter discusses sorting data. Suppose you are hired by a large hospital to write a program that displays lists of potential organ recipients. Th e hospital’s doctors will consult this list if...


Th is chapter discusses sorting data. Suppose you are hired by a large hospital to write a program that displays lists of potential organ recipients. Th e hospital’s doctors will consult this list if they have an organ that can be transplanted. You are instructed to sort potential recipients by last name and display them sequentially in alphabetical order. If more than ten patients are waiting for a particular organ, the fi rst ten patients are displayed; the user can either select one of these or move on to view the next set of ten patients. You worry that this system gives an unfair advantage to patients with last names that start with A, B, C, and D. Should you write and install the program? If you do not, many transplant opportunities will be missed while the hospital searches for another programmer to write the program.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here