Computer Science, asked by arnavkhandare, 4 months ago

5. If(a>b)
C=a;
else
c=b;
It can be written as:
(a) C= (b>a)?a:b;
(b) C= a!=b)?a:b;

Answers

Answered by kiranmoryak
0

Answer:

if(a > b)

c = a;

else

c = b;

It can be written as:

a) c = (b > a)?a:b;

b) c = (a != b)?a:b;

c) c = (a > b)?b:a;

d) None

Similar questions