- Name: Carlos Campos
- Course: Java Programming (not sure of the exact class)
This project is a simple Java program that demonstrates the use of a binary search algorithm. The program searches for a specific number in a sorted array and returns its position.
- Binary Search Algorithm: Used to find the position of a target value in a sorted array.
- Arrays: The data structure used to hold the sorted list of numbers.
- Control Structures:
whileloop andif-elsestatements are used to control the flow of the search.
- Input: A sorted array of integers and a target integer to search for.
- Output: The index of the target value if found, or a message saying it's not in the array.