int main() { int i,v; for(i=1;i<=500;i++) { v=isArmstrong(i); if(v==TRUE) printf("%d is Armstrong number\n",i); } return 0; }
int main(int argc, const char * argv[]) { // insert code here... std::cout << "Hello, World!\n"; isArmstrong(153); return 0; }