blob: 729e9101314cca101287aa265eb3873d819bcb7d [file] [log] [blame]
package p
func Fact(n int) int {
if n == 0 {
return 1
}
return n * Fact(n-1)
}