Computer Science, asked by vasu20agrawal, 5 months ago

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 ag0586369gmailcom
2

Answer:

if ( marks>_90)result_ _ "Grade A";

if(marks>= 80) result=" Grade B": "Grade C";

Similar questions