Created
April 12, 2020 19:50
-
-
Save parzibyte/5c6ef7177db211f222549993d606abb6 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 longitud = sizeof(nombres) / sizeof(nombres[0]); | |
int longitudFija = -25; | |
printf("Nombres alineados con variable\n\n"); | |
for (int x = 0; x < longitud; x++) { | |
printf("|%*s|\n", longitudFija, nombres[x]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment