Kotlin - Functions
Consider this Kotlin function:
How would you call it to use the default tax but specify a discount of 8?
fun calculatePrice(base: Int, tax: Int = 10, discount: Int = 5) = base + tax - discount
How would you call it to use the default tax but specify a discount of 8?
