package org.wikipedia.de.jpp;
public class VariableStarDesignator {
public static void main(String[] args) {
int counter = 1;
for (char c = 'R'; c <= 'Z'; c++) {
System.out.println(counter + ". " + c);
counter++;
}
for (char c0 = 'R'; c0 <= 'Z'; c0++) {
for (char c1 = c0; c1 <= 'Z'; c1++) {
System.out.println(counter + ". " + c0 + c1);
counter++;
}
}
for (char c0 = 'A'; c0 <= 'Q'; c0++) {
for (char c1 = c0; c1 <= 'Z'; c1++) {
if (c0 != 'J' && c1 != 'J') {
System.out.println(counter + ". " + c0 + c1);
counter++;
}
}
}
}
}