Computer Science, asked by ananya872, 5 months ago

b) Rewrite the following using ternary operator:
intx=0
if (a>b)
x=a* a:
else
x *b*b;​

Attachments:

Answers

Answered by quadirshaik166
0

uciyftdyfkyxtdycyclxhbm vcztd0y

Answered by paridapapa78
2

Answer:

int x=0;

int k=(a>b)? x=a*a : x=b*b

Similar questions