7 lines
174 B
Scala
7 lines
174 B
Scala
object Main extends {
|
|
val tenFactorial = 10 * 9 * 8 * 7 * 6 * 5 * 4 * 3 * 2
|
|
|
|
def tenFac = 10 * 9 * 8 * 7 * 6 * 5 * 4 * 3 * 2
|
|
|
|
println(s"10! = $tenFactorial", tenFac)
|
|
}
|