document.write( "Question 281915: what are the ways to find a digit in a given value to be odd or even?
\n" );
document.write( " example:
\n" );
document.write( "if 123 is a number then its answer will be 2=even and 1&3=odd.pls provide me some trick or explanation?? \n" );
document.write( "
Algebra.Com's Answer #204751 by Alan3354(69443)![]() ![]() You can put this solution on YOUR website! If it's divisible by 2 with no remainder, it's even. \n" ); document.write( "eg, 14/2 = 7, so 14 is even. \n" ); document.write( "17/2 = 8 1/2, so it's odd. \n" ); document.write( "------------------------- \n" ); document.write( "You can look at the 1's digit. If it's even, the number is even. \n" ); document.write( "xxxxxxx2 is even. \n" ); document.write( "xxxxx3 is odd. \n" ); document.write( " \n" ); document.write( " |