Question: Its a C++ program and please follow the instructions!!! geneD1 geneD2 where 1 and 2 denote the first and second gene, and A, B,C,D denote
geneD1 geneD2 where 1 and 2 denote the first and second gene, and A, B,C,D denote people The required information is found in the first 3552 characters of dna.txt, that is, there is no whitespace before or between the eight genes. Create a report, called DNAanalysis.txt, that indicates whether each person is anemic, a carrier, or normal. For example, Person X is anemic. Person Y is normal. Person Z is a carrier Two individuals are related if they share at least one gene. Determine whether any of the above four individuals are related and indicate this in DNAanalysis.txt. For example, Person X is related to person Y Include a subfunction, called SameGene, that takes two character arrays and their size, and returns true if they are the same gene; and returns false, otherwise Upload your C++ program and output to UR Courses. Hint: you may want to use eight arrays of type char and of size 444 *Thanks to Dr. John Stavrinides in the Biology Department for creating this question. "What's so beautiful about DNA is that its turned Biology into a kind of branch of Computer Science" Richard Dawkins, a biologist at Oxford University and a fellow of the Royal Society, in The Genius of Charles Darwin geneD1 geneD2 where 1 and 2 denote the first and second gene, and A, B,C,D denote people The required information is found in the first 3552 characters of dna.txt, that is, there is no whitespace before or between the eight genes. Create a report, called DNAanalysis.txt, that indicates whether each person is anemic, a carrier, or normal. For example, Person X is anemic. Person Y is normal. Person Z is a carrier Two individuals are related if they share at least one gene. Determine whether any of the above four individuals are related and indicate this in DNAanalysis.txt. For example, Person X is related to person Y Include a subfunction, called SameGene, that takes two character arrays and their size, and returns true if they are the same gene; and returns false, otherwise Upload your C++ program and output to UR Courses. Hint: you may want to use eight arrays of type char and of size 444 *Thanks to Dr. John Stavrinides in the Biology Department for creating this question. "What's so beautiful about DNA is that its turned Biology into a kind of branch of Computer Science" Richard Dawkins, a biologist at Oxford University and a fellow of the Royal Society, in The Genius of Charles Darwin
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
