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, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
question
Computers and Technology, 23.06.2019 12:20
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
Ahousehold consists of a married couple and their twin five-year old daughters. the couples children had no income and lived with their parents all of last year. how many exemptions can the couple claim on last years tax return or they file with the ā€œ married filing jointly ā€œ status? a. 4 b. 5 c. 3 d. 2
Answers: 1
question
Computers and Technology, 24.06.2019 17:40
Create a file called favorite_foods, and list your favorite foods, entering five or six or more. press enter after each favorite food so it appears on its own line (make certain you also press enter after the final food item). after the file is created, add two more foods you like that are not on the list (press enter after the final food item). view the list of foods to make certain the two items you added appear at the end of the list
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
Mathematics, 11.04.2020 11:45
question
Mathematics, 11.04.2020 11:47
question
Social Studies, 11.04.2020 11:47