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

In the Sumerian civilization, the purpose of a ziggurat was to
how do oceanographers get to the bottom of the ocean?
The speed at which a certain computer can access the internet is 2 megabytes per second. How fast is this in megabytes per hour.
Use the diagram above to determine which group of side lengths would form a right triangle. 20, 21, 29 12, 35
To make fruit salad,Sara uses 28 ounces of pineapple,21 ounces of apples,19 ounces of bananas,and 16 ounces of mango.how many 6- ounce servings of fruit salad c
whats the answer to -12(4/3-1)
What is 16/8 as a mixed number
i need a paragraph on work experience like where i went ,what i did,what my boss was like and what i did during the work experience ? can anyone help?!
solve this proportion: 1/c+5=2/3
How do you write 8.59 in word form