document.write( "Question 1062020: I bought some dogs and octopi. Each dog costs $100 and each octopus costs $200. I paid a total of $2000 and got a total of 80 legs. How many of each did I get?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #676780 by ikleyn(52777)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "I bought some dogs and octopi. Each dog costs $100 and each octopus costs $200. I paid a total of $2000 and got a total of 80 legs.
\n" ); document.write( "How many of each did I get?
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You bought 20 dogs and 0 octopi.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );