document.write( "Question 1008149: An animal shelter spends $1.00 per day to care for each cat and $5.00 per day to care for each dog. Samantha noticed that the shelter spent $128.00 caring for cats and dogs on Thursday. Samantha found a record showing that there were a total of 32 cats and dogs on Thursday. How many cats were at the shelter on Thursday?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #623931 by macston(5194)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "C=number of cats; D=number of dogs
\n" ); document.write( ".
\n" ); document.write( "C+D=32
\n" ); document.write( "D=32-C
\n" ); document.write( ".
\n" ); document.write( "$1C+$5D=$128
\n" ); document.write( "$1C+$5(32-C)=$128
\n" ); document.write( "$1C+$160-$5C=$128
\n" ); document.write( "-4$C=-$32
\n" ); document.write( "C=8
\n" ); document.write( "ANSWER: There were 8 cats
\n" ); document.write( ".
\n" ); document.write( "CHECK:
\n" ); document.write( "D=32-C=32-8=24
\n" ); document.write( "There were 24 dogs.
\n" ); document.write( ".
\n" ); document.write( "$1C+$5D=$128
\n" ); document.write( "$1(8)+$5(24)=$128
\n" ); document.write( "$8+$120=$128
\n" ); document.write( "$128=$128\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );