2009-08-07, 07:49 PM
Kabanaw Wrote:I love Java.(another reason to use (the better and (way) more (if not extremely) convenient programming language) lisp (which stands for (if I recall correctly) list processing) jajajaj.)
public class Speciaal
{
public static void main(String[] args)
{
for(int x=0; x<10; x++)
{
for(int i=0; i<10; i++)
{
for(int k=0; k<10; k++)
{
for(int l=0; l<10; l++)
{
System.out.print("&#"+x+i+k+l+"; ");
}
}
System.out.println(" ");
}
}
}
}
Code:
(with-open-file ("out.txt" out :direction :output)
(dotimes (i 10000)
(format out "&#~4,'0d; " i)
(if (zerop (mod i 10))
(format out "~%"))))
