## Kotlin Program to find the smallest digit of a number

In this program, You will learn how to find the smallest digit of a number in Kotlin. 912342 => 1 972342 => 2 Example: How to find the smallest digit…

Skip to content
##
Kotlin Program to find the smallest digit of a number

##
Kotlin Program to find the largest digit of a number

##
Kotlin Program to find the sum of first and last digit of a number

##
Kotlin Program to find the sum of even and odd digits of a number

##
Kotlin Program to find the sum of odd digits of a number

##
Kotlin Program to find the sum of even digits of a number

##
Kotlin Program to find the sum of digits of a number

##
Kotlin Program to print first n odd numbers in descending order

##
Kotlin Program to check the square root of a number is prime or not

##
Kotlin Program to find the sum of prime numbers between 1 to n

In this program, You will learn how to find the smallest digit of a number in Kotlin. 912342 => 1 972342 => 2 Example: How to find the smallest digit…

In this program, You will learn how to find the largest digit of a number in Kotlin. 12342 => 4 34182 => 8 Example: How to find the largest digit…

In this program, You will learn how to find the sum of first and last digit of a number in Kotlin. 1234 = 1 + 4 => 5 Example: How…

In this program, You will learn how to find the sum of even and odd digits of a number in Kotlin. 1234 = 2 + 4 => 6 1234 =…

In this program, You will learn how to find the sum of odd digits of a number in Kotlin. 1234 = 1 + 3 => 4 Example: How to find…

In this program, You will learn how to find the sum of even digits of a number in Kotlin. 1234 = 2 + 4 => 6 Example: How to find…

In this program, You will learn how to find the sum of digits of a number in Kotlin. 123 = 1 + 2 + 3 => 6 Example: How to…

In this program, You will learn how to print first n odd numbers in descending order in Kotlin. Some list are:13 11 9 7 5 3 1 Example: How to…

In this program, You will learn how to check the square root of a number is prime or not in Kotlin. 49 => Square root: 7.0 => Prime Example: How…

In this program, You will learn how to find the sum of prime numbers between 1 to n in Kotlin. 10th: 2 + 3 + 5 + 7 => 17…