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

Identify the turning point of the function f(x)=x^2-2x+8 by writing its equation in vertex form. Show work
1,352 pounds is what fraction short of a ton? A) 169/250             B) 77/100               C)13/20             D140/223
how do u divide 16 by 3/5
Which substance will combine with oxygen gas to produce a greenhouse gas? a. Na b. S c. H₂ d. Ne e. C
A ski jumper competing for an Olympic gold medal wants to jump a horizontal distance of 135 meters. The takeoff point of the ski jump is at a height of 25 meter
Which substance will combine with oxygen gas to produce a greenhouse gas? a. Na b. S c. H₂ d. Ne e. C
how many books did Harriet beecher stowe write?
do you know how to say my in Spanish?
what colors are birds are attracted 2
What is the product of (x+1) and (2x^2+3x-1)?