romarios4469 romarios4469
  • 01-10-2020
  • Computers and Technology
contestada

What is another way that the condition below could be written? ​ ( num <= 10 )

Respuesta :

tostuti
tostuti tostuti
  • 01-10-2020

Answer:

 ( (num < 10) || (num = 10) )

Explanation:

Here we have the condition as num <= 10 which means the condition gets satisfied till less than 10 i.e., (9) and condition also gets satisfied when the num is equal to 10 .

We can get same result using ( (num < 10) || (num = 10) ) because in OR when either of the input is true the output is true .

Answer Link

Otras preguntas

Use the order of operations and the digits 2,4,6 and 8 to create an expression with a value of 2
Evolution is: A) A change in the composition of a population from one generation to the next.B) A phenomenon that must be inferred from evidence, because it can
If the angles of a triangle are in ratio 2:3:7 find the measure of all the angles of the triangle
Predict what happens when zinc is added to water
Substitution how do u do it??
how does.debate in the senate differ from debate in the house?
the length of a rectangle is 3 feet less than twice the width of the rectangle. if the perimeter of the rectangle is 324 feet, find the width and the length?
how does.debate in the senate differ from debate in the house?
What's an equivalent fraction for 10 15 by dividing
Write an equation for a non-vertical line that contains the point ( 2,-4 )