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 substitution to solve the system. 4x-3y=−32 x=−2y-13
Alexandra caught a 184-ounce catfish. How much does the fish weigh in pounds and ounces? Also, 13 kg = ? g
A friend says that sweepstakes tickets will either win or not win so that Theoretical probability of it when he must be 50% explain your friends error.
Which chemical reaction absorbs energy? photosynthesis explosion current produced by a battery combustion of fuels activated hand warmers
Which group did not share power in reconstructed governments?
To build German strength in Europe, Bismarck relied upon a) war b) diplomacy c) alliance with Britain d) industrialism
What are you actually hearing when you listen to the heartbeat?
what is higher than a house and seems smaller than a mouse
Find the missing geometric means in this sequence.
Why was it important to have Kansas and Nebraska organized into territories?