Question: Problem statement: A specialty donation allows you to give more of what patients need in just one appointment. During your donation, one part of your
Problem statement:
A specialty donation allows you to give more of what patients need in just one appointment. During your donation, one part of your blood is collected, while the rest is returned to your body. This process is called Apheresis. In this decision problem, you are to determine the best types of donation for a particular blood type based on the following table. You must also check if any invalid blood types are entered at the user prompt. Sample Execution
Below is shown a screen capture of what the program would look like if I ran it with the following test
cases. Your program should work for all cases given in the table. TEST your program with multiple input
sets. Your output should look just like the sample in terms of user prompts and output formatting. The
values in BOLD RED are to show what values were entered by the user in this example execution.
Maximize your donation.
Enter the Donor's Blood Type: AB
A donor with type AB should donate plasma or platelets.
Thank you. Goodbye
Maximize your donation.
Enter the Donor's Blood Type: O
A donor with type O should donate whole blood or double red cells.
Thank you. Goodbye
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
