Kotlin - Functions
Identify the error in this Kotlin code snippet:
fun calculate() {
fun add(a: Int, b: Int): Int {
return a + b
}
}
fun main() {
println(add(3, 4))
}