A) if ( x < 10 ) if ( y > 10 ) document.writeln( "*****<br/>" ); else document.writeln( "#####<br/>" ); document.writeln( "$$$$$<br/>" ); B) if ( x < 10 ) { if ( y > 10 ) document.writeln( "*****<br/>" ); } else { document.writeln( "#####<br/>" ); document.writeln( "$$$$$<br/>" ); } |