object FactT {+− +− def factT(n: Int, acc: Int): Int =+− if (n == 0) acc else factT(n - 1, n * acc)+− +− }+−