fun birthday(name: String, age: Int) {
println("Happy birthday $name! You turn $age today!")
}
fun main() {
birthday("Oscar", 26)
//Prints: Happy birthday Oscar! You turn 25 today!
birthday("Amarah", 30)
//Prints: Happy birthday Amarah! You turn 30 today!
}
Comments