Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/main.c Secret

Created May 10, 2021
Embed
What would you like to do?
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