document.write( "Question 1021840: Ticket prices to a movie cost $20 for adults, $10 for children, $5 for children under 1. 120 people attend and brings in $1555. How many attend each category? \n" ); document.write( "
Algebra.Com's Answer #637599 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
Let A be the number of adults, B be the number of children, and C be the number of children under 1.
\n" ); document.write( "There are multiple solutions based on this information.
\n" ); document.write( "\"A%2BB%2BC%2B120\" ,-- Total number of people
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"20A%2B10B%2B5C=1555\" <--- Total box office receipts
\n" ); document.write( "\"4A%2B2B%2BC=311\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"C=120-A-B\"
\n" ); document.write( "\"C=311-4A-2B\"
\n" ); document.write( "\"120-A-B=311-4A-2B\"
\n" ); document.write( "\"B=191-3A\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "Then substituting,
\n" ); document.write( "\"C=120-A-%28191-3A%29\"
\n" ); document.write( "\"C=2A-71\"
\n" ); document.write( "All three numbers must be integers and greater than or equal to zero,
\n" ); document.write( "\"191-3A%3E0\"
\n" ); document.write( "\"191%3E3A\"
\n" ); document.write( "\"A%3C191%2F3\"
\n" ); document.write( "\"A%3C=63\"
\n" ); document.write( "and
\n" ); document.write( "\"2A-71%3E0\"
\n" ); document.write( "\"2A%3E71\"
\n" ); document.write( "\"A%3E=36\"
\n" ); document.write( "So then,
\n" ); document.write( "\"B=191-3A\"
\n" ); document.write( "\"C=2A-71\"
\n" ); document.write( "with
\n" ); document.write( "\"36%3C=A%3C=63\"\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );