1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Vinvika [58]
3 years ago
8

1.

Computers and Technology
1 answer:
Hatshy [7]3 years ago
8 0

Answer:

Hi!

The following Javascript statement compares if num is 2 or 5 and increment num by 1 if true.

if ( num==2 || num==5)  

num = num +1;

Explanation:

The operator == is used to compare if the operands are equal.

The operator || is OR.

  • If at least one of the operands is true then return true.
  • If all operands are false returns false.

if( num==2 || num==5) <em> // if num is equal 2 or if num is equal 5</em>

num = num +1; <em>// adds 1 to num.</em>

You might be interested in
What should every Software Engineer know about Software Architecture?
Alenkinab [10]
<span>!UML (all of them)
2.Flowchart (more for understanding a real world process of some kind; like a business process)
3.Data model including Bachman (if you don't need to at least understand your data, how it is stored versus a model, i.e., Bachman then you are doing it wrong and your schema could be simplistic)
This is 3 different examples</span>
6 0
3 years ago
__________ are variables that store data for direct or indirect processing. A IPO DiagramsB Flow chartsC Data structuresD Progra
likoan [24]
C. Data structures






---------------------------------
7 0
3 years ago
Instructions
marta [7]

Answer:

Explanation:

5 0
3 years ago
Can someone sub to my youttube pls, its called Yakobu, im trying to get to 100 subs
Bas_tet [7]

Answer:

ummm sure I guess but just let me know if u got any problem or questions

7 0
3 years ago
Which company has experienced censorship in China?
MariettaO [177]
Google experienced censorship in china. :) 
5 0
4 years ago
Read 2 more answers
Other questions:
  • Blender questions
    10·1 answer
  • Anna always has a hard time finding files on her computer because she does not know where she saved them. This also affects her
    12·2 answers
  • Describe three main types of testing and the order in which they are performed.
    9·2 answers
  • ICT excel data homework
    10·1 answer
  • Who is your favorite smite god in Hi-Rez’s “Smite”
    14·1 answer
  • Why do you think that so many of these sources have similar names?
    9·1 answer
  • Number are stored and transmitted inside a computer in the form of​
    6·1 answer
  • Algorithm and flowchart to find the perimeter and area of square​
    15·1 answer
  • Help please i will mark brainlist!
    7·1 answer
  • A program that organizes sequences of automated provisioning tasks. A. Application Packager B. Sequence Manager C. Sequence Logg
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!