one day a store sold 18 sweatshirts, white ones cost $9.95 and yellow ones cost 12.50. in all 222.45 worth of sweatshirts were sold. how many of each were sold?

1 answer

number of whites --- x
number of yellows --- 18-x

995x + 1250(18-x) = 22245
(I changed the $'s to cents)

solve for x, has to come out as a whole number