document.write( "Question 738136: There are 13 animals in the barn. Some are chickens and some are pigs. There are 40 legs in all. How many of each animal are there? \n" ); document.write( "
Algebra.Com's Answer #450682 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
p+c=13
\n" ); document.write( "2c+4p=40
\n" ); document.write( "
\n" );