Compilation result is also coming
#include
using namespace std;
int main() {
int n,temp,rem,sum;
cin >> n;
temp =n;
while(n>0){
rem = n%10;
sum = sum + (rem * rem * rem);
n = n / 10;
}
if ( sum == temp)
cout << “true” << endl;
else cout << “false” << endl;
return 0;
}