I'm writing a program that generates the DNA sequence given a base number.
For example, if I give it base 1, the sequence would be: a, c, g, t. If I give it base 2, the sequence would be: aa, ac, ag, at, ca, cc, cg, ct, ga, gc, gg, gt, ta, tc, tg, tt. Etc for other bases....
I'm thinking the prototype could be something like: void generate (int base);
Can anyone give me some ideas on how to approach this problem?