Why am I getting the Possible lossy conversion from double to int error and how can I fix it?
Possible lossy conversion from double to int
public class BinSearch { public static void ma
The array / loop indexes should be ints, not doubles.
When attempting to access set[j] for example, it complains about treating j as an int.
set[j]