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

What is the length of the base of a right triangle with an area of 24 m² and a height of 4 m? 3 m 6 m 12 m 96 m
A goal to learn new information is a (n) goal. A. emotional B. psychological C.community D. mental
What is the value of x?
name two angles ajacent to <BAF​
what is the value of 5p^3-4m if p=2 and m=7​
In Ancient Greece, what were the common religious practices? What was the government’s role in religion?
Rewrite the following equation as a function of x. 4x+8y-28=0
33 1/3 % as a fraction and decimal​
Which persuasive technique is used in this poster?
What is the difference between the American cinquain and the Modern cinquain? A. The American cinquain uses parts of speech. B. The American cinquain has a spec