Computer Science, asked by DoubtfulDoubtClearer, 6 months ago

Use Ternary Operator for the following if construct:

Attachments:

Answers

Answered by AnindaBasu
0

Answer:

i) p=(s>5000)? s*5/100:s*10/100;

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

Similar questions