[ create a new paste ] login | about

Link: http://codepad.org/PatdUFtU    [ raw code | output | fork ]

malsasa - C, pasted on Nov 11:
1
2
3
4
5
6
7
8
9
10
11
12
13
//Faktorial
int fuck(int x, int y, int z)
{
for(z=1; z<=y; z++)
x=x*z;
return (x);
}

int main()
{
printf("Iki hasile, Cuk: %d", fuck(1,5,1));
return 0;
}


Output:
1
Iki hasile, Cuk: 120


Create a new paste based on this one


Comments: