Aktualizovat „du6/program.c“

This commit is contained in:
Artem Horbunov 2020-04-08 16:38:18 +00:00
parent 572c8dbb25
commit 9857b4e93b

View File

@ -108,11 +108,11 @@ int main(){
} }
else{ else{
printf("Prijati studenti:%s", string); printf("Prijati studenti:%s", string);
for(int i = 0; i < lines + test; i++){ for(int i = 0; i < lines + test1; i++){
printf("%s\n", newNames[i]); printf("%s\n", newNames[i]);
} }
puts("Neprijati studenti:"); puts("Neprijati studenti:");
for(int i = lines + test; i < newLines; i++){ for(int i = lines + test1; i < newLines; i++){
printf("%s\n", newNames[i]); printf("%s\n", newNames[i]);
} }
} }