priscilapim2420 priscilapim2420
  • 03-07-2019
  • Computers and Technology
contestada

The AND operator is written as two ____.

a.
asterisks

b.
equal signs

c.
ampersands

d.
plus signs

Respuesta :

PhantomWisdom PhantomWisdom
  • 12-07-2019

Answer:

ampersands

Explanation:

In the programming the AND operator is denoted as '&&' , two ampersands.

it is used to between two conditions and give Boolean result.

It has four possible result:

first condition TRUE  second TRUE, result TRUE

first condition TRUE  second FALSE, result FALSE

first condition FALSE second TRUE, result FALSE

first condition FALSE second FALSE , result FALSE

For example:

(5 > 0 && 7 > 4):   it gives the result TRUE because both are true.

5 > 8 && 7 > 4):   it gives the result FALSE because one is false.

Answer Link

Otras preguntas

Help help helppppppppl
Help me pleaseeeeeeeee
it is the onion of set of whole numbers and the opposition of the set counting or natural numbers A. integers B. inverse C. Positive D. Negative ​
Work out the circumference of this circle. Take it to be 3.142 and write down all the digits given by your calculator. 10 cm.
25-5x=15-2x+10-3x What does x = and does it have one solution or infinite or no solution
Order from greatest to least: 3.008,3.825,3.09,3.18
An object is at rest on a tabletop. Earth pulls downward on this object with a force equal in magnitude to mg. If this force serves as the action force, what is
Need help answering this question, and 4 others that are on my page. Giving Points and Brainiest.
i need a lot of help from the smartest people now right now
Which of these is not a stage of General Adaptation Syndrome?