Agreed that a Binary Search only becomes useful after a certain number of elements, maybe 10.
@Sledge: It's true that actually I was NOT going to use decimal places so I only need an array of 100, BUT I thought I'd see what solutions people came up with if I said I DID need decimal places ;-)
@Sledge: It's true that actually I was NOT going to use decimal places so I only need an array of 100, BUT I thought I'd see what solutions people came up with if I said I DID need decimal places ;-)