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

the area of a sector of the circle with an arc measure of 45 degree and with a radius of 4 is?
How many miles did the the russian empire stretch from east to west in 1861
What reasons does Palmer give to justify the arrest of communists in the United States?
How many miles did the the russian empire stretch from east to west in 1861
How did America end up going to War with Iraq?
Why are Europe's clean energy sources important to the region?
How many moles of sodium hydroxide are produced when 1.00 mol sodium peroxide reacts with water
A small child has a wagon with a mass of 10 kilograms. The child pulls on the wagon with a force of 2 newtons. What is the acceleration of the wagon?
what did fascists believe was necessary to achieve order in a society
what word best describe chlorophyll