if( marks>= 65 && marks <= 8)
grade ='a';
else
grade = 'b';
rewrite this using ternary operator...
Answers
Answered by
1
Answer:
int grade = (marks>=65 && marks<=8)?a:b;
Similar questions