Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #36.9K
So I developed this code so that I would have a program that can randomly generate a DNA sequence. These are my questions: 1) how can i get the random number sequence to develop in a string? 2) how can i then multiplate the string so that the "A"s are … |
|
hi everyone, i am working on a simple C++ code that will randomly generate a DNA strand of bases. How this is what i have so far: [code=cpp] #include <iostream> #include <ctime> #include <cstdlib> using namespace std; string my_string; int main() { int random_integer; char 1 = 'A'; char 2 … |