Null or not null

Report a typo

Write a function named nullOrNotNull, which takes an argument number of type Int? and returns -1 if number is null; otherwise, it returns number.

Write a program in Kotlin
// write your function here
___

Create a free account to access the full topic