This website is preserved for historical and scholarly reference and is no longer actively maintained.
QUIZ 25
October 22, 1997
Following execution of the sequence of statements:
int temp;
//Assume that integer values have previously been assigned to (type int) a, b, and c.
if ( a < b )
{
temp = a;
a = b;
b = temp;
}
if ( b < c )
{
temp = b;
b = c;
c = temp;
}
which of the following are ALWAYS true? Circle all that apply.
a) a >= b >= c
b) a >= c and b >= c
c) a > b > c
d) a > b and b > c
e) None of the above