
A<->T,C<->G
进行互换就可以了
#include<stdioh>
#include<stdlibh>
main()
{
char input[50];/Defined to store the DNA code sequence/
int i;/Used as counter/
printf("\n\tInput the DNA sequence you want to convert\n\t");
gets(input);
for(i=0;input[i]!='\0';i++)
{
switch(input[i])
{
case 'A':printf("T");break;
case 'T':printf("A");break;
case 'C':printf("G");break;
case 'G':printf("C");break;
default:
{
printf("An Unknown match occurs,Fail to respond");
exit(0);/Quit the program directly/
}
}
}
system("pause");/As this program is made in Dev,use this expression to pause the program/
}
以上就是关于简述生物细胞dna分离方法和检测程序全部的内容,包括:简述生物细胞dna分离方法和检测程序、英国dna程序怎么样、DNA转录翻译程序帮我修改正确等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)