Check whether a number is Happy Number in JAVA | Happy Number | Java Online Training

Опубликовано: 10 Апрель 2026
на канале: SRV Institute of technology by Shashi sir
3,544
56

Check whether a number is Happy Number in JAVA | Happy Number | Java Online Training

   / @srvinstituteoftechnologyby7299  

Check whether a number is Happy Number in JAVA
Happy Number
Happy numbers : Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1, or it loops endlessly in a cycle which does not include 1.
The first few happy numbers are 1, 7, 10, 13, 19, 23, 28, 31, 32, 44, 49, 68, 70, 79, 82, 86, 91, 94, 97, 100.
An unhappy number is a number that is not happy.
The first few unhappy numbers are 2, 3, 4, 5, 6, 8, 9, 11, 12, 14, 15, 16, 17, 18, 20.
For Example : 31 = 3^2 +1^2 = 10
1^2+2^0=1.
This is a Happy Number
Example : 20 = 2^2+0^2= 4.
This is a Not Happy Number or UnHappy Number

Happy Number
Happy Number IN hindi
Happy Number ( hindi )
Check whether a number is Happy Number in JAVA
Check whether a number is Happy Number in JAVA in hindi
Check whether a number is Happy Number in JAVA ( hindi )

Happy Number
#happyNumber
#developers
#numberSystem
#iitkanpur
#mnit
#coders
#youtube
#prime

Happy Number
#happyNumber
#developers
#numberSystem
#iitkanpur
#mnit
#coders
#youtube
#prime

Happy Number
#happyNumber
#developers
#numberSystem
#iitkanpur
#mnit
#coders
#youtube
#prime

Happy Number
#happyNumber
#developers
#numberSystem
#iitkanpur
#mnit
#coders
#youtube
#prime

If you found this video valuable, give it a like.
If you know someone who needs to see it, share it.
If you have questions ask below in comment section.
Add it to a playlist if you want to watch it later.

Make sure you LIKE , SUBSCRIBE , COMMENT , and REQUEST A VIDEO! :)

#java #bluej #programming #developer #python #learning #edtech #classroom #edapp #elearning #mlearning #scichat #icsesiniogren #icseboard #icsc #cbsc #computer #happynumber #unhappynumber #happyno