Question 1204603:  Johnnie likes to buy slices of pizza in the cafeteria for lunch for $4.75. Amy 
prefers to buy hamburgers for lunch, which cost $5.55 each. Between the two of 
them, Johnnie and Amy have $38.50 and they are not allowed to buy more than 
7 lunches. How many hamburgers and slices of pizza can they buy? 
 Found 2 solutions by  josgarithmetic, greenestamps: Answer by josgarithmetic(39630)      (Show Source): 
You can  put this solution on YOUR website! Pizza Slice,  4.75 dollars 
Hamburger, 5.55 dollars 
Max. money to spend, 38.5 dollars 
Max. foods or lunches to buy , 7
 
 
p and h, number of pizza slices and hamburgers
 
 
 
 
Understand that p and h must be whole numbers, neither less than 0. 
 Answer by greenestamps(13215)      (Show Source): 
You can  put this solution on YOUR website! 
  
No formal algebra is needed for this problem; the requirements are not very restrictive.
  
Simple arithmetic shows that 7 hamburgers cost $38.85, which is just a bit more than the $38.50 they have to spend.
  
Then, since hamburgers cost more than slices of pizza....
  
ANSWER: they can buy ANY combination of 7 or fewer items EXCEPT 7 hamburgers.
  
 
  | 
 
  
 
 |   
 
 |