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

how can i use point mutation in a sentence
Ana is planning to plant roses around the edge of a circular flowerbed having a diameter of 7 feet. If the total cost of planting roses is $176, what is the un
is 1000 feet greater than 300 yrs
Explain how the taxes were a cause for the American Revolution. Be sure to explain why colonists felt the British did not have the right to tax them.
Were the 13 colonies considered the United States of America?
What American writer is the eighth child of Georgia sharecroppers?
When a disease can be passed from person to person, it is referred to as a __________ disease. communicable disease non-communicable disease fast moving diseas
What is 2/3 of 12348
Which statement accurately describes the relationship between the brain and addiction?
write an original idiom that uses the word dog or dogs im in 4th