Print in the output the exact pattern provided below 1 1 12 21 123 321 1234 4321 1234554321 Input format A single character denoted by c h Output format in java code example
Example: printf("%d", 10 ? 0 ? 5:1:1:12) what will print
printf("%d", 10 ? 0 ? 5:1:1:12)