brebest4732 brebest4732
  • 25-07-2019
  • Computers and Technology
contestada

Which of the following will cause asyntax error?(0 < num)&& (num <12)0 < num <120 < num&& num < 12num > 0&& num <12

Respuesta :

ExieFansler ExieFansler
  • 01-08-2019

Answer:

The answer to this question is that none of the following will give syntax error.All of them will get executed.

(0 < num)&& (num <12)

0 < num <12

0 < num&& num < 12

num > 0&& num <12

There is no syntax error i have checked on the compiler also.But logically we take variable on the left side of the comparison operator and the value to the right of the operator.

Answer Link

Otras preguntas

please Answer all these question and thank you for the answer​
1 9) y=--x + 3 3 *x y 2 # 54 B X there ​
what organelle converts sunlight to chemical energy
In this example, six populations are currently under study. Four out of the six populations can interbreed with one another and produce fertile, viable offsprin
Find X in these 3 right angle triangles
The main characters, Lennie Lennie andGeorge, are foils. Foils are characters who are opposites.How are Lennie and George foils? Why did Steinbeck create these
1. The young man was well-dressed because​
HELP ASAP PLZ!?!??!!?
The diameter of Mercury is 4,878,000 meters. Type your answer..
Metamorphoses book XI fable III which most accurately summarizes this fable