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

The difference of 9 times a number and 2 is 67. Which equation below can be used to find the unknown number?
The __________ combined score moved the competitor to the top of the scoreboard.
What are two fraction equivalent to 1/2
If two words are synonymous, they have opposite definitions. a. True b. False
Which of these components establishes pace in poetry? A. rhyme B. rhythm C. imagery D. layout
What does it mean for an equation to express Y in terms of X?
What is dangerous about living for 7 days on just one can of sardines
what is the qoutient 39,208 divided by 54
A person described as perspicacious is A. smart and perceptive. B. inclined to be optimistic. C. foolishly persistent. D. inclined to be pessimistic.
which of the following is a characteristic of the Ascomycota