
public class Main {
	public static void main(String[] args){
	
	}
	public int[] splice(int[] strand){
		return strand;
		
	}
	public int[] transcribe(int[] strand){
		return strand;
		
	}
	public int[] translate(int[] strand){
		return strand;
		
	}
}

@@ -1,8 +1,34 @@
+import java.util.Scanner;%0A
 %0Apublic 
@@ -82,25 +82,432 @@
 args)%7B%0A%09
-%0A%09%7D%0A%09publ
+%09int%5B%5D DNA = new int%5B20%5D;%0A%09%09%0A%09%09System.out.println(%22Original DNA Sequence:%22);%0A%09%09for (int i = 0; i%3CDNA.length; i++)%7B%0A%09%09%09DNA%5Bi%5D=(int)(Math.random()*4);%0A%09%09%7D%0A%09%09toDNA(DNA);%0A%09%09%0A%09%09Scanner scan = new Scanner(System.in);%0A%09%09System.out.println(%22Enter Sequence to Cut At (Indicate Split Position with Space):%22);%0A%09%09System.out.println(%22For Example: G AAT%22);%0A%09%09String input=scan.nextLine();%0A%09%09%0A%09%09splice(DNA, input);%0A%09%7D%0A%0A%09public stat
 ic int%5B%5D
@@ -518,32 +518,49 @@
 ice(int%5B%5D strand
+, String splitPos
 )%7B%0A%09%09return stra
@@ -694,10 +694,348 @@
 ;%0A%09%09%0A%09%7D%0A
+%09%0A%09public static void toDNA(int%5B%5D a)%7B%0A%09%09%0A%09%09for(int i = 0; i%3Ca.length; i++)%7B%0A%09%09%09String nucleotide = %22%22;%0A%09%09%09switch (a%5Bi%5D)%7B%0A%09%09%09case 0: nucleotide = %22A%22;%0A%09%09%09break;%0A%09%09%09case 1: nucleotide = %22T%22;%0A%09%09%09break;%0A%09%09%09case 2: nucleotide = %22C%22;%0A%09%09%09break;%0A%09%09%09case 3: nucleotide = %22G%22;%0A%09%09%09%7D%0A%09%09%09System.out.print(nucleotide);%0A%09%09%7D%0A%09%09System.out.println(%22%22);%0A%09%7D%0A
 %7D%0A

Update Main.java