libertebenallly6529 libertebenallly6529
  • 23-08-2019
  • Computers and Technology
contestada

Suppose variables roll1 = 3 and roll2 = 4, which of the following will be evaluated as true?

roll1>3 || roll2 > 3

roll1>3 && roll2 > 3

!(roll1==3)

roll1>3 || roll2 < 3

Respuesta :

Mustela Mustela
  • 26-08-2019

Answer:

The correct answer for the given question is "  roll1>3 || roll2 > 3  "

Explanation:

In option A, there are two conditions separated by OR. In OR, if any condition  is true then it will return TRUE. There second condition is TRUE in the statement  that is why the whole expression return TRUE.

Thats why the correct answer is "roll1>3 || roll2 > 3".

Answer Link

Otras preguntas

the product of 16 and 4 less than a number is 208. Find the number.
Seven less than the product of twice a number is greater than 5 more the same number. Which integer satisfies this inequality?a.116b.348c.2205d.2553
Who is Henry the 8th and what is his hstory
Since your little brother loves cereal you decide to give him his favorite cereal cinnamon toast crunch as a surprise present. There is only one square sheet of
Why does Nick seem to disapprove of Gatsby's wealth and status in the book the great gatsby?
vanessa drew a figure and said that it had an infinite number of lines of symmetry. what figure did she draw?
What are the square roots of 196?   A. 13 and –13
A cable cord is 78 meters long.Workers cut it into 30 pieces of equal length. How many centimeters long is each piece?
What is 423.408 rounded to the neatest hundredth
The planet we call Earth has how many main layers