class Find13s { public static void main(String arguments[]) { int numFound = 0; // candidate: the number that might be a multiple // of 13 int candidate = 1; System.out.println("First 400 multiples of 13:"); while (numFound < 400) { if (candidate % 13 == 0) { System.out.print(candidate + " "); numFound++; } candidate++; } } }