end next end end toc toc mail

If then else

Expressions
x = 2;
if ( x + 3 == 5 )
	x = 2;
else
	x  = 55;
What is the value of x?
hint
x = 2;
if ( x + 3 == 5 )
	if ( x % 2 == 0 )
		x = 2;
	else
		x = 33;
else
	x  = 55;
What is the value of x?
hint

end next end end toc toc mail


Created by unroff & hp-tools. © by csfac. All Rights Reserved (Oct/14/1999).

Last modified: 14/October/99 (16:18)