How do I return the - 1 to show in the main?
Type: Posts; User: camaleonx13
How do I return the - 1 to show in the main?
I'm trying to run this code to find the key in the array
If the element is not 5 it is supposed to return a -1
The code runs but doesn't return anything. What am I doing wrong?
public class...