15.Rewrite using ternary operator:
if(a>b)
p=a*b;
else
p-a/b;
Answers
Answered by
2
Answer:
g = a > b ? a > c ? a : c : b > c ? b : c;
Please make me as Brainliest
Answered by
1
Answer:
p = (a>b) ? (a*b) : (a/b) ;
.
.
.
.
HOPE THIS HELPS YOU
Similar questions