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

Last change on this file since 57 was 44, checked in by mszubert, 15 years ago

cecj, framsticks and games packages imported

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.