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

Indicate in standard form the equation of the line passing through the given point and having the given slope. A(5, 5), m = 3
Can someone answer this please?
stop bullying at the school
use the distributive property to simplify the expression 11 (x-5)
Suppose that the raw daily oxygen purities delivered by an air-products supplier have a standard deviation σ ≈ .1 (percent), and it is plausible to think of dai
What is the remainder when (y2 + 9y + 9) is divided by (y + 7)?
BRUTUS: It must be by his death. And for my part I know no personal cause to spurn at him, But for the general. He would be crowned. How that might change his n
-x+12=3(4x+8)+1 a) {-1} b) { all real numbers } c) {-16} d) {5}
Which parent function is represented by the table x=-2,-1,0,1,2 y=-2,-1,0,1,2
The equation of a line in slope intercept form is y=mx + b where m is the x intercept