Kotlin program to retrieve the values of Triple using properties
fun main() {
// creating a new instance of the Triple
var numbers = Triple(10, 20, 30)
// Printing the values
println(numbers.first)
println(numbers.second)
println(numbers.third)
}
Output:
10
20
30
