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

Carlos measured the length of the ears of the rabbits at a local farm. The table below shows the data that he collected: Ear length (in cm) Number of rabbits 9
Which of the following choices is quickly becoming the second leading cause of disease and death in the United States? alcohol abuse HIV/AIDS obesity drug a
what word is OEVBIITEC im not sure OEVBIJTEC​
Solve for the h in the triangle below. Round to the nearest tenth. 90⁰ 6.0 Oh-13.3 Oh 5.5 Oh 8.0 53%​
A Blank______ grants an inventor exclusive rights for a defined period to the manufacture, use, or sale of his or her invention. Multiple choice question. paten
50 PTS! SUPER EASY 9TH GRADE GEO - FIND THE AREA
find the answer please​
Hello !!! please help me <3 will give brainle and 25 points please help !!!!
g what is it called when citizens vote to remove an elected offcial before their term has expired
Read the excerpt from anthem. this, my body and spirit, this is the end of the quest. i wished to know the meaning of things. i am the meaning. i wished to find