Passing negative numbers to the floorDiv() function

Report a typo

What quotient value will the application print?

val dividend = 14
val divisor = -6

val quotient = dividend.floorDiv(divisor)
println(quotient)
Enter a number
___

Create a free account to access the full topic