Created
January 18, 2015 16:31
-
-
Save joffilyfe/655328203ab457c02cb6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#include <stdio.h> | |
int main(void) { | |
int entrada, i; | |
i = entrada = 0; | |
scanf("%d", &entrada); | |
for (i = 1; i <= entrada; i++) { | |
if (entrada % i == 0) { | |
printf("%d\n", i); | |
} | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment