source: java/ecj/games/league/WPCLatexFormatter.java @ 699

Last change on this file since 699 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
RevLine 
[44]1package games.league;
2
3import java.util.Scanner;
4
5public 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.