#include #include int main(){ int x; scanf("%d", &x); if(x<100 || x>999){ printf("Niste uneli trocifren broj.\n"); return 0; } if(x==pow(x%10,3)+pow((x/10)%10,3)+pow((x/100)%10,3)) printf("Broj je armstrongov.\n"); else printf("Broj nije armstrongov.\n"); return 0; }