In this video, I explain the logic and Java code to check for a Kaprekar Number, a very important number program for ICSE Class 10 Computer Applications. We will write the program in BlueJ, covering how to find the square, count digits, split the number (using substring or modulus), and verify the condition.
📝 What is a Kaprekar Number?
A number is a Kaprekar number if the sum of the parts of its square equals the original number.
Example: 45² = 2025 ➡ 20 + 25 = 45 (It is a Kaprekar Number!)
🚀 Related ICSE Java Programs:
Abundant Program: https://youtu.be/40INZccZFmA
Automorphic Number: https://youtu.be/hH7gw9mA2p8
Krishnamurthy Number: https://youtu.be/lP03PkhLkus
Neon Number: https://youtu.be/G3pnEgqg08Q
#ICSEClass10 #JavaProgramming #KaprekarNumber #BlueJ #ComputerApplications #BoardExam2026 #JavaForBeginners #NumberPrograms