Computer Science, asked by ArYaNN1305, 4 months ago

Convert following into if-else

System.out.println(no%2==0)?”Even” :”Odd”;​

Answers

Answered by akbarshibbi
0

Answer:

if(no%2==0)

System.out.println("Even");

else

System.out.println("Odd");

Similar questions