convert the expression using ternary operator
int m = 85
if (m>=90)
System.out.println ( "A") ;
else
System.out.println (" B") ;
Answers
Answered by
1
Answer:
the expression will be
(m>=90)? "A":"B";
Similar questions