Answer:dna.java
import java.util.Scanner;
public class dna
public static boolean isvalid(String s)
for (int i = 0; i< s.length()="" ;="">
if(s.charAt(i) != 'C' && s.charAt(i) != 'G' && s.charAt(i) != 'A' && s.charAt(i) != 'T' )
return false;
return true;
public static double countc(String s)
double c = 0;
for (int i = 0; i< s.length()="" ;="">
if(s.charAt(i) == 'C' )
c = c+1;
Answer:
will be
Explanation:
I'm not quite sure but I think that this is the answer for your question
Sorry for this but to be honest we do t get taught this in the school I go to sorry
Answer:
That it is time for lunch?
Explanation: