Answer:
Three Times.
Step-by-step explanation:
First and foremost a binary search requires that the array be sorted in ascending or descending order.
After the initial step the search goes to the middle most value
i.e.
will be the second 14, which is the first iteration.
Since 14 is less than 19 the search will eliminate the lower half of the including 14, and will iterate again through the array:
![[15,18,18,19,19]](https://tex.z-dn.net/?f=%5B15%2C18%2C18%2C19%2C19%5D)
The array will go to the middle most value which is 18, second iteration. Since 18 is less than 19, the program will eliminate the lower half and be left with two values i.e.
.
The search will run once i.e. third iteration, and will return key value found.
<span>Once upon a time there was a surprise for a boy named Justin ,his 4 friends ordered a pie because it was a surprise soccer party. Only 1 out of the 4 boys got to eat the pie since they all wanted to play soccer. Hope this helped :)</span>
Answer:
B. x<27
Step-by-step explanation:
The shelter has 165 animals.
The shelter must keep its total occupancy below 300.
The shelter takes in an average of 5 animals per day. If x is the number of days, then in x days the shelter takes 5x animals. In total there will be
165+5x animals. This number must be less than 300, so
![165+5x< 300\\ \\5x< 300-165\\ \\5x< 135\\ \\x< 27](https://tex.z-dn.net/?f=165%2B5x%3C%20300%5C%5C%20%5C%5C5x%3C%20300-165%5C%5C%20%5C%5C5x%3C%20135%5C%5C%20%5C%5Cx%3C%2027)