// Preferred filename: pidigits.java -- javac requires a public class to match the filename. /* The Computer Language Benchmarks Game http://benchmarksgame.alioth.debian.org/ contributed by Isaac Gouy */ import java.math.BigInteger; public class pidigits { static final int L = 10; public static void main(String args[]) { int n = Integer.parseInt(args[0]); int j = 0; PiDigitSpigot digits = new PiDigitSpigot(); while (n > 0){ if (n >= L){ for (int i=0; i