document.write( "Question 1210402: There are 30 legs in my backyard but I'm counting dogs and kids.How many kids and dogs are in my backyard? \n" ); document.write( "
Algebra.Com's Answer #852235 by greenestamps(13203)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "It should be clear from the given statement of the problem that there are many possible answers for the number of dogs.

\n" ); document.write( "Each dog has 4 legs; each kid has 2. Those are both even numbers, so the total number of legs for any numbers of dogs and kids will be even.

\n" ); document.write( "2 is the smallest even number, so you could have a total of 30 legs with only kids.

\n" ); document.write( "30 is not a multiple of 4, so you can't get a total of 30 legs with only dogs.

\n" ); document.write( "Obviously the number of dogs and the number of kids must be non-negative integers.

\n" ); document.write( "So the number of dogs can be any non-negative integer for which the total number of dog legs is less than 30.

\n" ); document.write( "ANSWER: The number of dogs can be any integer from 0 to 7 inclusive.

\n" ); document.write( "
\n" ); document.write( "
\n" );