Clothing problem

Report a typo

In the code below, you can see two classes: the outer class Employee and the nested class Uniform. The uniform should perfectly match the employee's clothes size.

Complete the printUniformInfo function, which should output a single line of the following format — "The employee wears a COLOR TYPE in size SIZE" with the uniformColor value instead of COLOR, the uniformType value instead of TYPE, and the clothesSize value instead of SIZE.

Write a program in Kotlin
class Employee(val clothesSize: Int) {
class Uniform {
val uniformType = "suit"
val uniformColor = "blue"
}

fun printUniformInfo() {
//...
}
}
___

Create a free account to access the full topic