Kotlin Program to Display Prime Numbers Between Intervals Using Function Kotlin Program to Display Prime Numbers Between Intervals Using Function