Question: Suppose a large hospital hires you to write a program that displays lists of potential organ recipients. The hospitals doctors will consult this list if
Suppose a large hospital hires you to write a program that displays lists of potential organ recipients. The hospitals doctors will consult this list if they have an organ that can be transplanted. The hospital administrators instruct you to sort potential recipients by last name and display them sequentially in alphabetical order.
If more than 10 patients are waiting for a particular organ, the first 10 patients are displayed; a doctor can either select one of these or move on to view the next set of 10 patients. You worry that this system gives an unfair advantage to patients with last names that start with A, B, C, and D.
Explain how you would go about writing the program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
