Exercise: Printing Personal Information
Enhance your Kotlin proficiency by practicing string formatting and nullability concepts.
We'll cover the following...
Problem statement
Implement formatPersonDisplay
function. It should have the String
result type and the following parameters:
The
name
of typeString?
and default valuenull
The
surname
of type ...