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 lol i need some help
Gore won the popular vote but neither candidate could claim the electoral vote true/false
If six pounds of pinto beans, priced at $2.00 per pound, are combined with four pounds of lima beans, priced at $3.00 per pound, what is the per-pound price of
What is the value of x? 42 21 19 38
Which is an example of potential energy? A burning candle. Visible light waves from the sun. A rubber band pulled tight. A car coasting down a steep incline.
Which action signaled the beginning of the cold war?.
How did humanism affect paintings during the renaissance
NEED HELP QUICK - State the reference angle and what quadrant the terminal side of the angle is in.
The above events in Texas led to what action by the u.s government
Solve the system of equations below: 4x + 6y = 32 3x - 6y = 3 Pls show work