@bypatrickgeorge#LTC
{
public static void main(String[] args)
{final int NUM_FACTS = 100;
for(int i = 0; i < NUM_FACTS; i++)
System.out.println( i + "! is " + factorial(i));
}
public static int factorial(int n)
{int result = 1;
for(int i = 2; i <= n; i++)
result *= i;
return result;
}
@AM2DM@theferocity@IsaacFitzgerald {
public static void main(String[] args)
{final int NUM_FACTS = 100;
for(int i = 0; i < NUM_FACTS; i++)
System.out.println( i + "! is " + factorial(i));
}
public static int factorial(int n)
{int result = 1;
for(int i = 2; i <= n; i++)
result *= i;
return result;
}
Natürlich kann man jetzt wieder mit "Ach, Tweetklau, na und? Mimimi" ankommen, aber genau diese Arschlöcher sind doch der Grund dafür, warum wir (ich meine jetzt die, die eigentlich gerne rt) fast nur noch Leute rt, die wir schon lange kennen.
Ich habe nämlich weder Zeit noch