Rewrite the following program segment using Ternary operator instead of if else statements:
if ( a % 2 = = 0)
str = “Even”;
else
str = “Odd” ;
in java
Answers
Answered by
0
Answer:
okkkkkkkkkkkkklkkkkkkkkkkkkkkkkkkkkkkkkk
Similar questions