Rekursif Faktorial

Run Settings
LanguageJava
Language Version
Run Command
class Main { public static void main(String[] args) { int fak = 5; System.out.println(fak + " faktorial: "+ f(fak)); } static int f(int i) { if(i == 1) return 1; return i * f(i-1); } }
Editor Settings
Theme
Key bindings
Full width
Lines