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

When you have a solution with a high concentration of hydrogen ions, is it an acid or a base?
the distance from the earth to the Sun is approximately 9.3×10^7 miles. if light travels 1.2×10^7 miles in 1 minute, how many minutes does it take the light fro
When can I apply the use of the cubic function (y= a( x - h ) ^3 + k) in a real life situation?
How does the amount of milk you drink affect the strength of your bones
What is the simplified form of the following expression? (y8)(y2) y10 y6 y16 y64
A glass tabletop is supported by a rectangular pedestal. if the tabletop is 8 inches wider than the pedestal on each side, what is the perimeter of the glass ta
Two people bought 48 oranges pat bought five times as many as chris. how many oranges did chris buy
Solve the equation for Y 13x+y=4
CAN SOMEONE PLEASE HELP WITH PERCENT
True or false the 2000 election was one of the closest in american history; bush won the popular vote