Invoking functions

Report a typo

This code calls the Math.log10 function with one argument.

Correct the line containing an error.

Write a program in Kotlin
fun main() {
val number = readln().toDouble()
val logNumber = Math.log10 number // fix this line
println(logNumber)
}
___

Create a free account to access the full topic