You are viewing a single comment's thread. Return to all comments →
why doesn't the code work if I say:
System.out.printf("%i x %i = %i%n", N, i, result);
instead of: System.out.printf("%d x %d = %d%n", N, i, result);
Seems like cookies are disabled on this browser, please enable them to open this website
Java Loops I
You are viewing a single comment's thread. Return to all comments →
why doesn't the code work if I say:
System.out.printf("%i x %i = %i%n", N, i, result);
instead of: System.out.printf("%d x %d = %d%n", N, i, result);