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

!!BRAINLIEST!! (Washington history) Who conducted the first overland expedition of North America? Alexander Mackenzie Wilson Price Hunt
Find three consecutive odd integers whose sum is negative 465
Word pair that completes the analogy for clamor:ears
To find records for employees whose salary is greater than $60,000 and whose gender is female, use the ____.
PLEASE HELP ASAP !!!!!!! Gerard played tennis instead of football this year. Which are the compound prepositions in this sentence? A.instead of B.this ye
why is jerusalem an important city for christianity
Which expression is equal to 6(-3m)^4
A baby weighed 7.25 lb at birth at the end of 8 months , the baby weighed 2 1/2 times its birth weight. how many pounds did the baby weigh at the end of 8 month
Where was lee harvey oswald going when he was shot?
"I support our local politicians" sentence or fragment