/**
 * This function takes two integers start and end, and prints information about prime numbers between start and end.
 * It prints the number, whether it is prime or not, and the count of prime numbers.
 */
fun printPrimeInfo(start: Int, end: Int) {

    println("Prime numbers between $start and $end:\n")
    
    for (num in start..end) {
        if (isPrime(num)) {
            println("$num is a prime number")
        } else {
            println("$num is not a prime number")
        }
    }
}

fun isPrime(num: Int): Boolean {
    if (num <= 1) {
        return false
    }
    
    for (i in 2 until num) {
        if (num % i == 0) {
            return false
        }
    }
    
    return true
}
/**
 * This function takes two integers start and end, and prints information about prime numbers between start and end.
 * It prints the number, whether it is prime or not, and the count of prime numbers.
 */
fun printPrimeInfo(start: Int, end: Int) {
/**
 * This function takes two integers start and end, and prints information about prime numbers between start and end.
 * It prints the number, whether it is prime or not, and the count of prime numbers.
 */
fun printPrimeInfo(start: Int, end: Int) {

    println("Prime numbers between $start and $end:\n")
    
    for (num in start..end) {
        if (isPrime(num)) {
            println("$num is a prime number")
        } else {
            println("$num is not a prime number")
        }
    }
}

fun isPrime(num: Int): Boolean {
    if (num <= 1) {
        return false
    }
    
    for (i in 2 until num) {
        if (num % i == 0) {
            return false
        }
    }
    
    return true
}