Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvins authored Oct 29, 2024
1 parent 66f9f94 commit 035bf03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scala/Exponentiation.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def exponentiation(base: Int, exponent: Int): Int = {
.map(_ => base)
.reduce(_ * _)
}

object Main extends App {
println("5 ^ 3 = " + exponentiation(5, 3))
}
}

0 comments on commit 035bf03

Please sign in to comment.