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

Primary education describes education between kindergarten and typically the composition of a grade.true false
Greek thinkers who were determined to seek the truth were called
Why are many Philipine and Oceanic languages are dying?
factor binomialx²-36=​​
Directions: Find the value of x.
At a specific spot along the coast of North Carolina the continental shelf extensile 65 m from the shoreline into the ocean at that point the depth of the water
Given f (x) = 3x + 15, find a when f (x) = 51.
For each percentage, find a matching statement to describe it. A. 10% of a number 1. Equal to that number B. 25% of a number. 2. 1/2 of that number C. 50% of a
rules and regulations created by an agency such as the federal communications commission are called
for each of the reactions at constant pressure, determine whether the system does work on the surroundings, the surroundings does work on the system, or essenti