## Kotlin Program to find the sum of prime elements in an array

In this program, You will learn how to find the sum of prime elements in an array in Kotlin. Array list: 3 4 5 6 7 8 9 10 Sum…

Continue Reading Kotlin Program to find the sum of prime elements in an array

## Kotlin Program to find prime elements in an array

In this program, You will learn how to find prime elements in an array in Kotlin. Array list: 3 4 5 6 7 8 Prime elements is: 3 5 7…

Continue Reading Kotlin Program to find prime elements in an array

## Kotlin Program to sort an array in descending order

In this program, You will learn how to sort an array in descending order in Kotlin. Array list: 6 4 1 2 3 5 List in descending order: 6 5…

Continue Reading Kotlin Program to sort an array in descending order

## Kotlin Program to sort an array in ascending order

In this program, You will learn how to sort an array in ascending order in Kotlin. Array list are: 3 4 5 61 9 7 After sorting:3 4 5 7…

Continue Reading Kotlin Program to sort an array in ascending order

## Kotlin Program to swap adjacent elements of an array

In this program, You will learn how to swap adjacent elements of an array in Kotlin. List is: 1 2 3 4 5 6 After swap: 2 1 4 3…

## Kotlin Program to copy all elements of an array to another array

In this program, You will learn how to copy all elements of an array to another array in Kotlin. List are: 2 3 4 5 2 3 4 5 9…

Continue Reading Kotlin Program to copy all elements of an array to another array

## Kotlin Program to find duplicate elements in the array

In this program, You will learn how to find duplicate elements in the array in Kotlin. List is: 2 3 4 5 2 3 4 5 9 10 Duplicate elements…

Continue Reading Kotlin Program to find duplicate elements in the array

## Kotlin Program to check a number is unique or not

In this program, You will learn how to check a number is unique or not in Kotlin. Some unique numbers list is: 2 32 234 456 213 number of digit…

Continue Reading Kotlin Program to check a number is unique or not

## Kotlin Program to search an element in the array

In this program, You will learn how to search an element in the array in Kotlin. List is: 11 22 33 44 55 66 77 88 99 10 Enter for…

Continue Reading Kotlin Program to search an element in the array

## Kotlin Program to find the second smallest element in the array

In this program, You will learn how to find the second smallest element in the array in Kotlin. List is: 2 3 4 5 6 7 8 9 10 11…

Continue Reading Kotlin Program to find the second smallest element in the array