SOLUTION: A computer program randomly select a positive two-digit integer. If the integer selected is odd, twice that integer is printed. If the integer selected is even, the integer itself

Algebra.Com
Question 339904: A computer program randomly select a positive two-digit integer. If the integer selected is odd, twice that integer is printed. If the integer selected is even, the integer itself is printed. If the integer printed is 26, which of the following could have been the integer selected?
I. 13
II. 26
III. 52
A. I only
B. II only
C. I and II only
D. I and III only
E. I, II, and III

Answer by jim_thompson5910(35256)   (Show Source): You can put this solution on YOUR website!
If the selected integer is 13, then 13*2=26 is printed (since 13 is odd). If 26 is selected, then just 26 is printed (since 26 is even)


So the answer is C)


If you need more help, email me at jim_thompson5910@hotmail.com

Also, feel free to check out my tutoring website

Jim

RELATED QUESTIONS

A positive integer less than 100 is randomly selected. What is the probability that the... (answered by Fombitz)
if an integer is randomly chosen from the first 50 positive integers, what is the... (answered by luke94,jim_thompson5910)
if an integer is randomly chosen from the first 50 positive integers, what is the... (answered by CubeyThePenguin)
A cool Java program takes in a two-digit integer. If the integer is even, it prints half... (answered by richwmiller)
If twice the square of a positive integer is 12 more than 10 times that integer, what is... (answered by rmromero)
Twice the square of a positive integer is 35 more than 9 times that integer. What is the... (answered by jim_thompson5910)
Twice the square of a positive integer is 12 more than 10 times that integer. What is the (answered by edjones)
if k is a positive integer, which of the following must represent an even integer that is (answered by sudhanshu_kmr)
The sum of the digits of a positive two-digit integer is 45 less than the integer. What... (answered by ankor@dixie-net.com)