What would the browser display if the following code is executed in a script?
```
var grade = 59
if ( grade >= 60 )
document.writeln( "Passed." );
else
document.write( "Failed. " );
document.writeln( "You must take this course again." );
```
a) Passed.
b) Failed.
c) You must take this course again.
d) Failed. You must take this course again.
b) Failed.
Computer Science & Information Technology
You might also like to view...
Which of the following methods can be used to extract longer text strings?
A. slice.string(start [,end]) B. string.start(slice [,end]) C. string.slice(start [,end]) D. slice.start(string [,end])
Computer Science & Information Technology
Computer security experts generally classify computer security threats into three categories: secrecy, integrity, and necessity.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology