Kotlin Basic Programs
- Kotlin program to perform simple calculation on two integer numbers
- Kotlin program to input numbers (integer, float, double) at run time
- Kotlin program to input a string
- Kotlin program to find largest of three numbers
- Kotlin program to swap two numbers
- Kotlin program to convert distance Miles to KM and KM to Miles
- Kotlin program to check whether a number is EVEN or ODD
- Kotlin program to check whether given number is positive, negative or zero
- Kotlin program to check leap year
- Kotlin program to print the multiplication table of given number
- Kotlin program to calculate simple interest
- Kotlin program to calculate compound interest
- Kotlin program to calculate and display student grades
- Kotlin program to find GCD/HCF of two numbers
- Kotlin program to convert temperature from Fahrenheit to Celsius
- Kotlin program to find LCM of two numbers
- Kotlin program to find factors of a number
- Kotlin program to check if given number is perfect square
- Kotlin program to find factorial of a number
- Kotlin program to display Fibonacci series
- Kotlin program to count digits in an integer number
- Kotlin program to find sum of digits of a number
- Kotlin program to find area of circle
- Kotlin program to find area of Rectangle
- Kotlin program to find area of Square
- Kotlin program to find area of Triangle
- Kotlin program to find area of a cube
- Kotlin program to find surface area of a cuboid
- Kotlin program to find area of a cylinder
- Kotlin program to find area of Equilateral Triangle
- Kotlin program to find area of Parallelogram
- Kotlin program to find area of Pentagon
- Kotlin program to find surface area of Sphere
- Kotlin program to find volume of Sphere
- Kotlin program to reverse a number
- Kotlin program to print all prime factors of given number
- Kotlin program to check Armstrong number
- Kotlin program to display Armstrong numbers between a range
- Kotlin program to check given number is palindrome number or not
- Kotlin program to print all palindromes in a given range
- Kotlin program to check whether a number is prime or not
- Kotlin program to find prime numbers in a given range
- Kotlin program to check whether number is binary or not
- Kotlin program to convert decimal to binary
- Kotlin program to convert decimal number to octal number
- Kotlin program to convert binary number to octal number
- Kotlin program to convert binary to decimal
- Kotlin program to convert octal number to binary number
- Kotlin program to convert octal number to decimal number
- Kotlin program to calculate the sum of natural numbers
- Kotlin program to generate 4 digits OTP
- Kotlin program to print Kotlin, JVM version (printing Java properties)
Program to check Armstrong number in Kotlin
Output
need an explanation for this answer? contact us directly to get an explanation for this answer