Math
posted by Michael Florent on .
a group of 11 students bought either chocolate chip cookies for forty cents each or brownies for fifty cents. The total amount they spend was five dollars and ten cents.How many chocolate chip cookies and brownies did they buy?

Let c be the number of chocolate chip cookies, and b be the number of brownies.
b + c = 11
0.4 * c + 0.5 *b = 5.10
Use algebra to solve for b and c