RNA
using System;
public static class RnaTranscription
{
public static string ToRna(string nucleotide)
{
string complete = "";
if (nucleotide == "")
{
return "";
}
else
{
for(int i=0; i<nucleotide.Length; i++)
{
if(nucleotide[i] == 'G')
{
complete += "C";
}
else if(nucleotide[i] == 'C')
{
complete += "G";
}
else if(nucleotide[i] == 'T')
{
complete += "A";
}
else if (nucleotide[i] == 'A')
{complete += "U";}
}
return complete;
}
}
}
Thank you, friend!
![image.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmd7of2TpLGqvckkrReWahnkxMWH6eMg5upXesfsujDCnW/image.png)
![image.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmWDnFh7Kcgj2gdPc5RgG9Cezc4Bapq8sQQJvrkxR8rx5z/image.png)
I'm @steem.history, who is steem witness.
Thank you for witnessvoting for me.
please click it!
(Go to https://steemit.com/~witnesses and type fbslo at the bottom of the page)
The weight is reduced because of the lack of Voting Power. If you vote for me as a witness, you can get my little vote.