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

Which question would be most helpful to ask when researching and writing a biography? A. Which figures from history has this person most likely heard of? O B. W
Simplify the following fraction: 3/12
HELP, I NEED TO SHOW WORK SO EXPLAIN IT GOOD PLEASE
4/5 in decimal form?
What single transformation was applied to triangle A to get triangle B?
someone please help im mark u as brainlest
it took Otis 6 hours to travel to the Grand Canyon. Along the way he took 18 min. to get gasoline and 53 min. to eat. How much time did Otis spend driving
Verna Williams is forty-eight years old and lives with her husband Sam, and their two cats. They live on the second floor of a block of flats. The lift is often
Alberti bass identify?
If the values in the table below model a proportional relationship, what is the equation for the function?