Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

* * * USING PYTHON * * * * Problem statement: A specialty donation allows you to give more of what patients need in just

*** USING PYTHON****
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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions