Question: Can you solve this problem in C language please? Problem 3: A DNA sequence 20 pts A DNA sequence is composed of 4 types of

Can you solve this problem in C language please?  Can you solve this problem in C language please? Problem 3:

Problem 3: A DNA sequence 20 pts A DNA sequence is composed of 4 types of character: A, C, G, and T A CG site is a region where a 'C is directly before of 'G', and it is of important functions. For example, the sequence ATCGCAATTCGTTCG" contains 3 CG site. Write a function called FindCGInDNA that helps computational biologists identifty the number of CG sites in a given DNA. the function takes no parameters and it returns back one integer value. the function asks the user to input one character at a time and repeats that 8 times. Store all the character read into an array of characters called DNA. After that, the functions counts how many times the two characters "CG" appears in it. Note:: You can assume the user-input contains only A, C, G and T (no need to have input validation for the data in your function). Sample Run# 1: Please enter a DNA sequence: ACGTACGT There is 2 CG site(s) in the DNA sequence. Sample Run #2 Please enter a DNA sequence: AGGGCTT In En There are 0 CG site(s) in the DNA sequence

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!