document.write( "Question 258354: A cool Java program takes in a two-digit integer. If the integer is even, it prints half the integer, while if the integer is odd it prints twice the integer. If 17 was printed, which of the following could have been entered? \r
\n" );
document.write( "\n" );
document.write( "I. 17
\n" );
document.write( "II. 34
\n" );
document.write( "III. 68\r
\n" );
document.write( "\n" );
document.write( "A II and III b) None c) III d) I and II e) II \n" );
document.write( "
Algebra.Com's Answer #190184 by richwmiller(17219)![]() ![]() You can put this solution on YOUR website! A cool Java program takes in a two-digit integer. If the integer is even, it prints half the integer, while if the integer is odd it prints twice the integer. If 17 was printed, which of the following could have been entered? \n" ); document.write( "17 can't be twice any integer since it is odd. \n" ); document.write( "so it must be half the integer \n" ); document.write( "n/2=17 \n" ); document.write( "n=34 \n" ); document.write( "answer e) II 34 \n" ); document.write( " |