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

Helen is the head of the accounts department in a small business. She is calculating the various expenses that the business has incurred in the past quarter. On
What is the pre fix that means to bend
Explain your answer !! Have a nice day Will give braisnlt
How many moles are in 39.5 grams of Lithium? SHOW HOW YOU SET UP THE CONVERSION SHOW WHAT MATH OPERATION INCLUDE THE APPROPRIATE UNITS IN YOUR ANSWER
The civil rights bill of 1866
What "first" did the comic book character Black Panther achieve with its debut in 1966?​
HELP HELP HELP!!!!!!!!!!
Find the coordinates of the point P that divides the directed line segment from A to B in the given ratio. A(−3, −7), B(17, 3); 3 to 2
help help help help help
HELP ASAP ILL GIVE A THANKS AND CROWN U BRANLIEST Which combined inequality has the same solution set shown in the graph? a ≤ –12 or a > –5 –a ≤ –12 or a &g