Question: Write a Java program that reads in a String representing a DNA strand. You may assume that the input String is completely capitalized, and only

Write a Java program that reads in a String representing a DNA strand. You may assume that the input String is completely capitalized, and only contains the four letters A, C, G, and T. Your program should print out a new String that corresponds to the reverse complement of the input String. For example, the complement of ACTGA would be TGACT.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!