Happy Number
Guys , I'm back with a new program and it is also in C language. So get ready to find your lucky number now..😃 Happy Number.. Doesn't it seem interesting.. 😉 Yeah off course it is..! What is a happy number. If the repeated sum of digits of any number is ' 1 ', then it is considered to be a happy.. And if it is not then it is sad number. Also when the sum of digits of a number becomes 4..we cannot get '1' as a result because it requires so many iterations and we remain messed up into an infinite loop.., so if sum of digits is 4 then it is also a sad number. Let's take an example.Suppose we have a number 19. 19 -> 1 and 9 1^2 + 9^2 = 82 again, 82 -> 8 and 2 8^2 + 2^2 = 68 again, 68-> 6 and 8 6^2 + 8 ^2 = 10...