summaryrefslogtreecommitdiff
path: root/quellcode/versuch4/myBurner.cpp
blob: 318b9c852b67235b39414e83c4699ee50078da6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
#include <stdio.h>

int foo(int what){
	if(what == 1) return 1;
	int fac = what * foo(what-1);
	return fac;
}

int main(){
	while(1) foo(33);
	return 0;
}