The code below compiles and executes without issue, but is not idiomatic kotlin. What is a better way to impelement the 'printlln()'?kotlinfun main() { val name: String = 'Amos' val grade: Float = 95.5f println('My name is ' + name + '. I score ' + grade + ' points on the last coding quiz.')}

🎲 Try a Random Question  |  Total Questions in Quiz: 83  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Kotlin Quiz — practice the complete quiz, review flashcards, or try a random question.

Kotlin MCQs For LinkedIn Skill Assessments.


The code below compiles and executes without issue, but is not idiomatic kotlin. What is a better way to impelement the 'printlln()'?<br>kotlin<br>fun main() {<br> val name: String = 'Amos'<br> val grade: Float = 95.5f<br> println('My name is ' + name + '. I score ' + grade + ' points on the last coding quiz.')<br>}<br>