Computer Science, asked by Anonymous, 1 month ago

(a) What are the values of x and y
int a = 63; b = 36;
boolean x = (a > b) ? true : false;
int y=(a < b) ? a : b;​

Answers

Answered by krishnakd716
0

Answer:

x= true

y= false

sayad sahi ho

Answered by ItzBrainlyQueen01
28

Explanation:

\huge\color{blue}\boxed{\colorbox{cyan}{Answer :→}} \\

Input :-

int a = 63; b = 36;

boolean x = (a > b) ? true : false;

int y=(a < b) ? a : b;

Output :-

  • true
  • b
Similar questions