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

What is ask for 7 (m+5)=21
Nitrogen in the cells of plants and animals is first released to other organism with the help ofa)denitrifying bacteriab)nitrogen-fixing bacteriac)nitrifying ba
Exercising below your target heart rate zone will
what is 0.5 in simplest form
what root trasports water and nutries
A colloid liquid suspended in a gas is called aerosol true or false
Kelly tells you that when variables are in the denominator, the equation one over two plus three over x equals three over four becomes unsolvable. Kelly explain
what is 1.12 divided by 8.2
A medical battery loses 5% of its power each week. How long will it take until only 20% of its power remains. Answer if you only know
The Longton cheerleaders are trying to raise at least $3000 on their candy sale. If each box of candy sells for $7.50, how many boxes must they sell to reach th