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 ME ILL GIVE YOU BRAINLIEST
Please help please please help
What country is northern border is guatemala's southern border on the east side?
What government decision would best be handled at the state level?
I'm the aftermath of Columbus and voyages of encounter, Europeans believed the first humans in America's might have been
35 people paid a total of $245 for admission to a local soccer game. What is the price of admission?
In the simulation panel, auto capture / play allows you to see _______________, represented as envelopes of various colors, traveling between the devices.
usain bolt, a Jamaica retired sprinter and world record holder in the 100 meters, 200 meters and 4 × 100 meters relay, has an average speed of 23.35 mph. if he
a rectangular picture frame has a perimeter of 58 in the height of the frame is 18in what is the width of the frame pls help now it is due tomorrow
(T or F) In Medieval times, being in love was seen as a serious mental illness.