Let's say a = number of ordered soups, b = number of ordered sandwiches.
Then 4.5a + 7.75b = 113.50, and a and b are integers between 0 and 18 inclusive.
How do we tackle this? If all ordered soup, the cost would be $81, so we'll have at least 4 sandwiches. If all ordered sandwich, the cost would be $139.5, so at most 15 sandwiches were ordered. You also know an even number of sandwiches was ordered, to let the price end at 50 cent.
If you brute-force from 4,6,8,10,12 to 14 sandwiches, you find the answer at 10 sandwiches and 8 soups.
10*7.75 + 8*4.50 = 113.50
I think is this hopefully this helps
Answer:
10
Step-by-step explanation:
20 divided by 4 = 5 and times it from there
Answer:
264 with a remainder of 4
Step-by-step explanation: