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

What's 32xy divided by 24yz and how do you figure it out.  The question also asks me to write it as a fraction then cancel (or reduce).
The equation is:Point K is between points J and L. If JK= x^2-4x, KL= 3x-2 and JL=28, find the lengths of JK and KLbasically x^2-x-2 and how to solve that
what does slippered pantaloons means in the seven ages of man for william shakespeare
how did congress try to settle  the slavery issue in 1850?
Humans, monkeys, and apes belong to a group of animals known as
how many hydrogen bonds can a single water molecule form
which property is (3+5) times 6 = 3 + (5 times 6)
what is 92/99 written in the simplest form?
Which one describes how much matter an object contains,using SI units?A.43kgB.65mC.38poundsD.89second
Which of the following elements is not necessary to prevent value conflicts in the work place? A. ToleranceB. ConsiderationC. AvoidanceD. Honest communication