rakhi2207 / java-programs-

Add java programs for hactoberfest2022
GNU Affero General Public License v3.0
12 stars 108 forks source link

Happy Number #134

Open Arghadip-Chatterjee opened 2 years ago

Arghadip-Chatterjee commented 2 years ago

A number is called happy if it leads to 1 after a sequence of steps wherein each step number is replaced by the sum of squares of its digit that is if we start with Happy Number and keep replacing it with digits square sum, we reach 1.