KNA-10 Number Property Checker Using JFrame
KNA-10 Number Property Checker Using JFrame
10.Assignment Submission
Student Name: Praveen Biradar
ID: KODD8KS8I
An Armstrong Number (also called a Narcissistic Number) is a number where the sum of its digits, each
raised to the power of the total number of digits, equals the original number.
Example:
Since the sum is equal to the original number, 153 is an Armstrong number.
2. Take a number as input and check whether it is an Strong number or not.
A Strong Number is a number where the sum of the factorials of its digits is equal to the original number.
Example:
1. 145
A friendly pair, also known as amicable numbers, is a pair of positive integers where the sum of the proper divisors
of one number equals the other number, and vice versa. Proper divisors are all the divisors of a number excluding
the number itself.
Example
Its proper divisors are 1, 2, 3, 4, and 6, and their sum is 16, which is greater than 12. Hence,
12 is an abundant number.
5. Addition of two numbers