Изменить 'du6/program.c'

This commit is contained in:
Oleksandr Hryshchenko 2021-04-15 19:57:49 +00:00
parent 7c88c0f4aa
commit 62c7779b2a

View File

@ -59,7 +59,7 @@ int main() {
printf("Prijati studenti:\n");
for(int i = 1; i <= freePlaces; i++){
if(isalpha(inputs[i][0]))
if(isalpha(inputs[i][0]) || isalpha(inputs[i][1]))
printf("%s", inputs[i]);
}
if(freePlaces < finalPosition) printf("Neprijati studenti:\n");