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

☺️☺️☺️☺️☺️☺️☺️ Please help
I need a three prepositional phrases for 47 in a sentence
1. Given the function, g(x) = x-4/x^2-9, choose the correct vertical asymptote(s) A. x = 3 B. x = -3, x = 3 C. x = -4, x = 3 D. x = 92. Divide (picture attached
Is the following sentence punctuated correctly? Elizabeth said she was unhappy. A: correct B: incorrect
Which of the following sentences are punctuated correctly? A: I want it right now! "she demanded angrily." B: "I want it right now! she demanded angrily." C: "I
whom do we share the road with
What is the target daily intake of carbohydrates for 16 year old?
Select the graph of the solution. |x| =1 Closed circles on -1 and 1 with no line Open circles on -1 and 1 with arrows pointing away Open circles on 0.5 with
geometry help I got it wrong
Why is subgroup analysis problematic in research? Limit your response to one sentence.