Computer Science, asked by Vidishaan2147, 11 months ago

Rewrite the following statement using ternary operator.​

Attachments:

Answers

Answered by Anonymous
1

chat c[5]=x%2==0?"Even":"Odd";

System.out.println(c);

Similar questions