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() | |
{ | |
char signo[MAXIMA_LONGITUD_CADENA] = ""; | |
calcularSignoZodiacal(28, 11, signo); | |
printf("El signo zodiacal es: %s\n", signo); | |
// Solicitar al usuario e imprimir | |
int mes, dia; | |
printf("Ingresa tu mes de nacimiento [1-12]: "); | |
scanf("%d", &mes); | |
printf("Ingresa tu dia de nacimiento [1-31]: "); | |
scanf("%d", &dia); | |
calcularSignoZodiacal(dia, mes, signo); | |
printf("Típico de %s\n", signo); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment