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

please help me!!!!!!!!!!!!​
Which specific actions did Woodrow Wilson suggest to bring peace?
What is the x- intercept y =2x^2-8x+6?
A block of density 2400 km/m3 has a volume of 0.20 m3 what is it's mass
Solve The Inequality
absolute potential difference ,due of point charge of 1C at a distance of 1 m is given by
Line K has a slope of -3/4. If the slope of of lines that are perpendicular to each other are opposite reciprocals, what is the slope of a line perpendicular to
Which is an advantage of subdividing science into different areas?
Soy Paola. Por las noches, me lavo el pelo con el champú y con el acondicionador. Después me ducho con el jabón. No me gusta el gel en mi pelo. Luego, me seco c
Find the missing side length, and enter your answer in the box below. If necessary, round your answer to 2 decimal places. c 3 4