Last change
on this file since 1305 was
193,
checked in by Maciej Komosinski, 11 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
File size:
374 bytes
|
Rev | Line | |
---|
[44] | 1 | package games.league; |
---|
| 2 | |
---|
| 3 | import java.util.Scanner; |
---|
| 4 | |
---|
| 5 | public class WPCLatexFormatter { |
---|
| 6 | |
---|
| 7 | /** |
---|
| 8 | * @param args |
---|
| 9 | */ |
---|
| 10 | public static void main(String[] args) { |
---|
| 11 | Scanner s = new Scanner(System.in); |
---|
| 12 | for (int i = 0; i < 64; i++) { |
---|
| 13 | if ((i + 1) % 8 == 0) { |
---|
| 14 | System.out.println(s.next() + " \\tabularnewline"); |
---|
| 15 | } else { |
---|
| 16 | System.out.print(s.next() + " & "); |
---|
| 17 | } |
---|
| 18 | } |
---|
| 19 | } |
---|
| 20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.