Created
July 29, 2019 22:23
-
-
Save parzibyte/a43b3d67d03454fe85125d185ee28eaf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() { | |
// Algunos números para probar | |
int numeros[] = {1, 2, 3, 4, 153, 28, 11, 96, 407, 1634, 54748}; | |
for (int x = 0; x < sizeof(numeros) / sizeof(numeros[0]); x++) { | |
printf("%d es narcisista? %s\n", numeros[x], | |
esNarcisista(numeros[x]) ? "true" : "false"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment