Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Should be formatted to operate in Matlab Child Blood Type Prediction Problem Statement Given the blood type or genotype of the parents, predict the blood
Should be formatted to operate in Matlab
Child Blood Type Prediction Problem Statement Given the blood type or genotype of the parents, predict the blood type of the child. If you do not know how blood type is inherited, please read the following link http://www.biology.arizona.edu/human bio/ABO Crosses.html Input Mother's genotype (from user input) Father's genotype (from user input) Output Possible genotypes of the child Make sure that 'A' goes before 'B' and 'B' goes before 'O' in genotypes Hined Be The number of possible genotypes of the child is at most 4. You are allowed to output . repeated genotypes but are encouraged to avoid it. Sample Output You will get full credit if you have output like this (child genotype order does not matter) Enter blood genotype of the mother: BO Enter blood genotype of the father: BB The blood genotype of the child can be: BB, BB, BO or BO You will get bonus 2 points towards your semester grade if you can generate output like this, i.e., no repeated genotypes (child genotype order does not matter) Enter blood genotype of the mother: BO Enter blood genotype of the father: BB The blood genotype of the child can be: BB, or BO Test Cases Mother Father Child Child (bonus AA, AA, AA or AA BB, BB, BO or BO AA, AB, AB or BB AB, AO, BO or O0 AB, AO, BO, OO BO AB AO AB BO BB, BO AA, AB, BBStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started