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

write a letter to your foreign friend telling her/her about your country​
3 divided 74.25 Is it possible??
I need help with this question. I know the answer I jsut don't know how to get there. Please help! The graph of f(x)=x2 is shown. Use the parabola tool to grap
2. The goal of a firm in financial management is: A) To maximize profits B) To minimize costs C) To maximize societal welfare D) To maximize common stock prices
instead of borrowing money for large purchases, you should set money aside in a _________ over time and pay with cash.
If the function g is defined as g(x)=3x2−5(x+2), what is the value of g(4)?
individuals who have a very low risk tolerance would want to have how many months of emergency savings in place?
Please help me!! Correct answer gets brainliest
in Act 3 Scene 3 What part of Macbeth’s plan is not carried out? Who escapes? What problem does this cause for Macbeth?
What type of wrench surrounds and grips all corners when loosening and tightening bolts and nuts?