c) Rewrite the following by using ternary operator
if(marks>-90)
result--"Grade A":
else if(marks>=80)
result="Grade B":
else
result-"Grade C":
Answers
Answered by
2
Answer:
if ( marks>_90)result_ _ "Grade A";
if(marks>= 80) result=" Grade B": "Grade C";
Similar questions
Social Sciences,
2 months ago
Social Sciences,
2 months ago
Math,
2 months ago
English,
4 months ago
Business Studies,
4 months ago
Math,
9 months ago
English,
9 months ago
Sociology,
9 months ago