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

Jared wrote an equation for the perimeter of an equilateral triangle as 3x = 20. What does x represent in his equation?
what number is greater?
What impact did European contact have on Native American population between 1500 and 1620?
What to the power of 3 equals 729
If the guide words on a dictionary page are manage and massive, which word will NOT be on the page? 1) mark mapmaker mast martin mascot
-1/2 (b+2)+3b=-1I don't get the fraction part of the equation. also you have to distribute the equation
only one person, either Juan or Linda, will get the job underline appositive
Help please Which statement about character vs. character conflict is true ? I. The protagonist is always nicer and smarter than the antagonist. II. The antagon
What happens at the climax of the story The Masque of the Red Death?
Plants that reproduce sexually and have flowers are called_____. A.) gymnosperms B.) sporophytes C.) angiosperms D.) rhizoids