Answer to Question #22468 in C++ for Sahil

Question #22468
Help with C++ program, for making string constants.?

Now I'm having problem regarding Codon and their respective amino acid.
For example UCU,UCA codes for Serine( Codon=group of 3 nucleotide like UUA)
UAU codes for Tyrosine.
Now the problem is what should I use to make this output?
The person gives coding of base pairs like a u a c g etc through that previous array.
What should be used here? Should I use
const char codon []="nucleotide";
but it'll take a lot of time and make my code lengthy.
May I use a file?Fstream thing? But I have no idea how it would work with it.
Please help.


example run
user enters RNA sequence in a char array;
example sequnce be
U
C
A
C
G
A
it should code for two amino acids and output should be
Leucine
Arginine
like this.
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS