Write a program that reads several DNA strands, and writes the complementay strand for each of them. Remember that Adenine (A) pairs with Thymine (T) and Guanine (G) with Cytosine (C).
The input is a sequence of strings. All strings are formed
exclusively by characters
A,T,G,C.
For each string in the input, print the complementary DNA strand.
Author: Lluís Padró
Generation: 2026-05-28T15:57:12.581Z
© Jutge.org, 2006–2026.
https://jutge.org