Write an algorithm to determine if a number n is happy.
The number should start with positive integer
Replace the number by the sum of the squares of its digits.
Repeat until the number= 1
The numbers for which process ends with 1 are happy.
@Parul-Mann @gdsc-igdtuw Please assign me this issue.
Write an algorithm to determine if a number n is happy.
The number should start with positive integer Replace the number by the sum of the squares of its digits. Repeat until the number= 1 The numbers for which process ends with 1 are happy.
@Parul-Mann @gdsc-igdtuw Please assign me this issue.