Created
December 3, 2019 04:56
-
-
Save parzibyte/088069bb8d6dd3f11f091e855cf0a6d3 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(void) { | |
int numero = 10, posibleMultiplo = 2; | |
// Comprobar | |
int resultado = esMultiplo(numero, posibleMultiplo); | |
if (resultado) { | |
printf("%d es multiplo de %d", numero, posibleMultiplo); | |
} else { | |
printf("%d NO es multiplo de %d", numero, posibleMultiplo); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment