You keep declaring a new Socket.
Type: Posts; User: JBow94
You keep declaring a new Socket.
I'd suggest using the Scanner and StringBuilder classes.
Never-mind I got it to work:
I had to add:
System.out.printf("A: == (%1$1.0f%%)\r\n", ((float) countBase(
getSequence(fastaFile), 'A') / totalCount) * 100);
public static void main(String[] args) {
getFile();
if (fastaFile != null) {
totalCount = countBase(getSequence(fastaFile), 'A')
+ countBase(getSequence(fastaFile), 'G')
+...
Thanks for the replies! I will check into those.
To provide more insight on the thread, the numbers aren't in any order. What the function merge is supposed to do is:
combine both arrays into...
This is what I have:
package challengespackage;
public class ArrayMerge {
public static void main(String[] args) {
System.out.print(merge(new int[] { 9, 3, 0 }, new int[] { 4, 7, 8 }));...