Monday, December 6, 2010
Memories, good days, bad days They'll be, with me always
I am tired.
From
CodingBat > Java > Array1 > biggerTwo
Or,
http://codingbat.com/prob/p109537
public int[] biggerTwo(int[] a, int[] b) {
if ((b[0]+b[1])>(a[0]+a[1]))
return b;
else return a;
}
Aha! I have
kind of gotten the hang of basic arrays. And a bit of more complex strings.
I am hoping and praying that Ms Goh won't kill us on Saturday.
Posted at 8:41 PM