Question: Given two DNA strands of equal length, write a complete C++ program to compare the corresponding bases, and report mismatches. For example, suppose the input

Given two DNA strands of equal length, write a complete C++ program to compare the corresponding bases, and report mismatches. For example, suppose the input to your program are the following two DNA strands: CCATGGTC CCAGTGAC then your program should produce the following output: CCATGGTC CCAGTGAC **Differences: 3 In other words, your program should output the first strand, then on the next line output a space if the corresponding bases are the same and an X' if not, followed by the second strand, followed by a summary of the # of differences if the strands are identical. the #of differences reported should be 0. Don't forget to #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
