Show what is printed by each of the following statements. If a statement is incorrect, indicate why.
a) System.out.printf("%-10d\n", 10000 );
b) System.out.printf("%c\n", "This is a string" );
c) System.out.printf("%8.3f\n", 1024.987654 );
d) System.out.printf("%#o\n%#X\n", 17, 17 );
e) System.out.printf("% d\n%+d\n", 1000000, 1000000 );
f) System.out.printf("%10.2e\n", 444.93738 );
g) System.out.printf("%d\n", 10.987 );
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.