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 many gallons of blood are in the human body
which basketball player earned a doctorate degree in education
the phenomenon of transference is a recognized component of which of the following therapeutic treatments?
how to find the volume of a rectangular prism
main purpose of anti-saloon league in early 1900s
which line contains the point (1,-3) 1. 4×-y=7 2.2x+5y=4 3. 7x-y=15 4.×+5y=21
signs that you are pregnant
How do I get the width of a rug, it is 35/4 square meters and the length is 7/2 meters?
Compare the militarists in Japan with the European Fascist.
which form of therapy has most directly contributed to the sharp reduction in the number of residents in u.s. mental hospitals?