Computer Science, asked by Shrijitapal, 1 month ago

15.Rewrite using ternary operator:
if(a>b)
p=a*b;
else
p-a/b;

Answers

Answered by shahkhushi343
2

Answer:

g = a > b ? a > c ? a : c : b > c ? b : c;

Please make me as Brainliest

Answered by ArpitMishra506
1

Answer:

p = (a>b) ? (a*b) : (a/b) ;

.

.

.

.

HOPE THIS HELPS YOU

Similar questions