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

41 Which phrase from the passage helps the reader understand the meaning of multi-taskers? "To take in and do as much as possible, many of today's users have be
What’s the constant?
Need help with geometry
What is the prediction of weather called? Please help ASAP! Survey Prediction Forecast Poll
Pls help I will give brainliest
Americans spend about one-third of every dollar on food outside the home. False True
e/3=7. please can some one help
WILL MAKE BRAINLIEST
Which expression represents the product of q and 8, divided by 4? (q + 8) ÷ 4 (q x 8) ÷ 4 (q x 4) ÷ 8 q + 8 - 4
How do farmers modify the region's environment to grow rice? NO LINKS!!!!!!!!!!!!!!!!