subject

1.
which of the following javascript statement is to compare if num is 2 or 5, if yes, increment num by 1?
if( num==2 || 5)
num = num +1;
if( num==2 || num==5)
num = num +1;
if( num=2 || 5)
num = num +1;
if( num==2 || num=5)
num = num +1;

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
What computer network component allows data transfers from one computer to another through a telephone line?
Answers: 1
question
Computers and Technology, 22.06.2019 07:00
Idon understand these and need some ! ?
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
You are consulting for a beverage distributor who is interested in determining the benefits it could achieve from implementing new information systems. what will you advise as the first step?
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
You know the right answer?
1.
which of the following javascript statement is to compare if num is 2 or 5, if yes, increme...
Questions
question
Biology, 06.05.2020 03:11
question
History, 06.05.2020 03:12
Questions on the website: 13722360