Edit it

Report a typo

The following code snippet contains errors. Find and correct them so that the final result will be the output of the following line:
"Kotlin is a cross-platform, statically typed, general-purpose programming language with type coercion."

Sample Input 1:


Sample Output 1:

Kotlin is a cross-platform, statically typed, general-purpose programming language with type coercion.
Write a program in Kotlin
fun main() {
val var: String = "Kotlin "
val part2 = is a cross-platform
String val = ", statically typed, "
val part4 = "general-purpose programming language with type coercion."

print(part1)
print(part2)
print(part3)
print(part4)
}
___

Create a free account to access the full topic