Search:

Type: Posts; User: mju516

Search: Search took 0.28 seconds.

  1. Replies
    2
    Views
    415

    Reading ints into a multidimensional array

    My problem occurs during the for loops to read in the values from the file into my scores array. The program reads in and prints the first 6 values or 2 lines of ints, but then I get...
  2. Re: Binary Search for an array of random ints - Can't find the target value

    I mean that the user picks a value to search for in the array. My problem is in the search method
  3. Binary Search for an array of random ints - Can't find the target value

    Writing a binary search for an array of random ints. When in comes time to pick a target value and search for it, the program will not identify the number. If you run it you'll see what I mean

    ...
  4. [SOLVED] Re: Bad operand types for binary operator '

    Thanks a lot
  5. [SOLVED] Re: Bad operand types for binary operator '

    **Update**

    I just added the following code to my main program, just to see if I would get the same error.


    if (1<2<3)
    System.out.println("Yay");


    I got the exact same error, so I'm...
  6. [SOLVED] Bad operand types for binary operator '

    Okay so my problem occurs when I am trying to compare numbers that I have sent into method. In all six cases, I get "error: bad operand types for binary operator '<' ", and is always pointing at the...
Results 1 to 6 of 6