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

How do I do this????
PLEASE SOMEONE HELP ME ASAPPPPPPP
can a point at (0, 4) be reflected across the y-axis​
What is the solution to this problem? 12x+15=
A passenger jet averaged about 38 miles on 5 minutes. At this rate, how far could the passenger jet fly in 1 hour?
Jordan has $40 to spend at the yard sale. He buys 6 books for $2 each. He would like to spend the rest of his money on model cars for his collection. If the car
What are the difference between binocular cues and monocular cues?
What is the value of the expression h- 20 when h = 60
The Constitution spells out_______ -those powers that belong to the federal government alone. What goes in the blank??
Hi, I need some help!!!!