Update Happy_number.cpp

This commit is contained in:
Rakesh
2018-10-16 18:18:48 +05:30
committed by GitHub
parent 16e1bcdb52
commit 540a2e494a

View File

@@ -2,6 +2,7 @@
and this sum turns out to be 1 */
#include <iostream>
using namespace std;
int main()
{
int n,k,s=0,d;
@@ -23,4 +24,5 @@ int main()
cout << n << " is a happy number" << endl;
else
cout << n << " is not a happy number" << endl;
return 0;
}