Confused between the usage of printf and println... and ternary operator

Printable View