abkanna abkanna
  • 02-03-2020
  • Computers and Technology
contestada

Find the true Value if: int x = 15; int y = 100;
(x >y);
! (x< 15)
(x<= 15)
(x == y);
(x != 5);
(x*-y>0)

Respuesta :

problemsolver2019
problemsolver2019 problemsolver2019
  • 09-03-2020

Answer:

! (x< 15)

(x<= 15)

(x != 5);

Explanation:

Here, x is not less than 15 and hence !(x<15) is true. Also x = 15 and hence x is !=5, and hence x<=15 amd x!= 15 is true. However, x !=y and hence x== y is false, and x <y and hence x>y is false. And x * -y = a negative number and hence < 0. And hence ( x * -y >0) is false. And hence, the above mentioned options holds a true value, and rest of the options holds the false value.

Answer Link

Otras preguntas

Use the future tense of estar to say what everyone is probably going to do today, based on where they are. Tú / en el parque de diversiones.
Convert 1/(x+1) to a denominator of x^3+1
Which of the following is the best strategy for linking evidence to your ideas in an argument?
Steve buys 2 lb of grapefruit and 3 lb of oranges for $7.20. Kennedy buys 4 lb of grapefruit and 2 lb of oranges for $8.80. Let x represent the price per pound
Can someone please help me
Square root 2 times square root 8
Pleaseeeeeeeeee help me
Which of the following Best describes the pelvic during a kneeling hip flexor stretch
Does anyone know what the equation for this graph would be
Based on your comparisons of functions and non-functions, which statements are true? A The same output value in a function cannot correspond to more than one i