Posts by SDWQ12 • 53 points
1 post
-
5
votes2
answers180
viewsQ: Incorrect value in vector when binary search
import java.util.Arrays; /** * @author Vinicius * */ public class Vetor04 { /** * @param args */ public static void main(String[] args) { int vet[] = {3, 7, 6, 1, 9, 4, 5}; int s =…