Rna

in #italast month

class RnaTranscription {

String transcribe(String dnaStrand) {
    StringBuilder allstring = new StringBuilder();
    for (char dna: dnaStrand.toCharArray()){
    switch(dna){
        case 'G': 
            allstring.append('C');
            break;
        case 'C':
            allstring.append('G'); 
            break;
        case 'T':
            allstring.append('A');
            break;
        case 'A':
            allstring.append('U'); 
            break;
        default:
            allstring.append(' ');  
    }   
}
     return allstring.toString();

}
}

Sort:  

Thank you, friend!
I'm @steem.history, who is steem witness.
Thank you for witnessvoting for me.
image.png
please click it!
image.png
(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.