Question:What will produce output for the following javascript code fragment:
<script>
var alpha=20
var beta=25
var zeta=(alpha<=beta);
if(zeta){
	var sigma="This is true";
}else{
	var sigma="This is not true";
}
document.write(sigma);
</script>
 

A This is true 

B This is not true 

C Syntax error 

D sigma 

+ Answer
+ Report
Total Preview: 780

Copyright © 2024. Powered by Intellect Software Ltd