Created
June 18, 2019 16:26
-
-
Save renanboni/a6ab17369c69bcf2cc09465c76502bd0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| boolean search(int numbers[], int x) { | |
| for (int i = 0; i < numbers.length; i++) | |
| if (numbers[i] == x) { | |
| return true; | |
| } | |
| return false; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment