Answer:
120 + 3.5x≤ 190
Step-by-step explanation:
Add up all the costs
80+ 10+10+20 + 3.50x where x is the number of cupcakes
Combine like terms
120 + 3.5x
This must be less than or equal to 190
120 + 3.5x≤ 190
Whole number because it’s not the others
The answer is 4
|________ you put 44+40 in the box
|_______ then you see what goes into both and it is 4 so then divide 44 and 40 by 4
then put 11+10 in the box and nothing goes into 11 and 10 so 4 is the only thing that goes into 44 +40
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.