Computers and Technology
Computers and Technology, 22.08.2019 00:10, bqg464

Considering the following code segment:
if ( num < 0) {
alert("it's a negative num.");
}
else {
alert("it's a non-negative num.");
}
what will be displayed if num=0?
it's a positive num.
it's a non-negative num.
it's a zero.
nothing will be displayed.

answer
Answers: 3

Similar questions

Do you know the correct answer?
Considering the following code segment:
if ( num < 0) {
alert("it's a negative num."...

Questions in other subjects: