Alternade words: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: added syntax colouring the hard way) |
m (Minor edit to Java code) |
||
Line 1,019: | Line 1,019: | ||
String w2 = word2.toString(); |
String w2 = word2.toString(); |
||
if (dictionary.contains(w1) && dictionary.contains(w2)) |
if (dictionary.contains(w1) && dictionary.contains(w2)) |
||
System.out. |
System.out.printf("%-10s%-6s%s\n", word, w1, w2); |
||
} |
} |
||
} catch (Exception e) { |
} catch (Exception e) { |