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

What is the distance between P(-3, 10 ) and Q( 12,-6)
Which statement about enzymes is true? A. An enzyme functions to decrease the rate of a chemical reaction. B. Enzymes are proteins that function as catalysts in
Which of the following are required by the Sarbanes-Oxley Act? A. A report on internal control. B. A vertical analysis. C. A common-sized statement. D. A price-
Evaluate the function 7(x) = 2x+8 when x = 6. O 96 O 28 O 20 O 16
HELPPP ILL GIVE YOU 15 points!!!! AND BRAINLIST!!!! BOTH QUESTIONS PLz
what does the state me f(3)=18 mean
A square garden has an area of 1,600 square feet. How long is each side of the garden? 16 40 80 160
Plsss helppp plssss helppp
What is normalization ​
You accidentally throw your car keys horizontally at 8.0 m/s from a cliff. If yours keys land 28 m from the base of the cliff, how high was the cliff? Question