The Challenge!

Here is a sample of a simple way computer scientists solve problems: an "if-then" loop.
This is how it works: Suppose the user's age is 17. The value, 17, goes into the "if-then" loop. If the user is less than 18 years old (which she is!), the program prints out for you "User younger than 18".
If the user is NOT less than 18 years old, (here's where the "else" comes in!), the computer tells you "the user is older than 18".
Step 1:
Suppose you are given a DNA nucleotide (A, T, G, C).
How can you think of a way to find its match using if-then loops?
Step 2:
Given a short DNA sequence of nucleotides (A,T,G,C) , how can you link the given sequence to the identity of the plant?
Go onto the next level!
This is how it works: Suppose the user's age is 17. The value, 17, goes into the "if-then" loop. If the user is less than 18 years old (which she is!), the program prints out for you "User younger than 18".
If the user is NOT less than 18 years old, (here's where the "else" comes in!), the computer tells you "the user is older than 18".
Step 1:
Suppose you are given a DNA nucleotide (A, T, G, C).
How can you think of a way to find its match using if-then loops?
Step 2:
Given a short DNA sequence of nucleotides (A,T,G,C) , how can you link the given sequence to the identity of the plant?
Go onto the next level!