ABC words: Difference between revisions

Content added Content deleted
m (→‎{{header|Phix}}: added syntax colouring the hard way)
m (Minor edit to Java code)
Line 486: Line 486:
if (match(line, chars)) {
if (match(line, chars)) {
++n;
++n;
System.out.print(String.format("%3d: %-20s", n, line));
System.out.printf("%3d: %-20s", n, line);
if (n % 3 == 0)
if (n % 3 == 0)
System.out.println();
System.out.println();