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

lonic bonds form compounds with low melting and boiling points are very strong in water occur when atoms share electrons are held together by strong electrical
What effect does the author create through the description of the bookstore? Use two details from the passage to support your response.
8/11 divide by 3/5 find the quotient
The martin family went out to dinner and spent 85 dollars. They left an 18% tip. How much did they pay for dinner in total.
please leave work below!!
Which symbol correctly compares the two fractions? Use > , < , or =. Enter your answer in the box. 2/4 3/8
Synonym for reinvigorate A. Demoralize B.Bolster C.Inhibit D.Scrutinize
Help me solve the equation plz
what is 11d-(-2) < -15​
please help i need help asap