Use Ternary Operator for the following if construct:
Attachments:
Answers
Answered by
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