Driver code to test above methods
int main ( ) { int n = 13 ; if ( isHappynumber ( n ) ) cout << n << " ▁ is ▁ a ▁ Happy ▁ number STRNEWLINE " ; else cout << n << " ▁ is ▁ not ▁ a ▁ Happy ▁ number STRNEWLINE " ; }